Displays user interactions with menus displayed on a console or a serial terminal.

Dependents:   EVAL-AD568x-AD569x EVAL-AD7124 EVAL-AD5592R EVAL-AD717x-AD411x ... more

Revision:
9:dee92955bc3d
Parent:
8:17fbfba02ff1
--- a/adi_console_menu.c	Fri May 06 17:40:22 2022 +0530
+++ b/adi_console_menu.c	Mon May 09 09:54:26 2022 +0530
@@ -149,7 +149,7 @@
 				}
 				// If both are NULL, then return Not Supported action.
 				else if (menu->items[i].action != NULL && menu->items[i].submenu != NULL) {
-					ret = -ENOTSUP;
+					ret = -1;
 				}
 
 				// Store the return value if it is negative.