ADI console menu library

Revision:
4:ced4fa6875ed
Parent:
2:6a97882f6144
diff -r b491377501ce -r ced4fa6875ed adi_console_menu.c
--- a/adi_console_menu.c	Fri Feb 19 09:25:57 2021 +0000
+++ b/adi_console_menu.c	Sun May 09 22:59:54 2021 +0530
@@ -278,7 +278,7 @@
 	 *  Dedicated call to move home is because sometimes first move home doesn't work
 	 *  \r\n required to flush the uart buffer.
 	 */
-	printf("\x1B[2J\x1B[H\r\n");
+	printf(VT100_CLEAR_CONSOLE VT100_MOVE_TO_HOME EOL);
 
 	/*
 	 * if VT100 is not supported, this can be enabled instead, but menu display may not work well