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

Files at this revision

API Documentation at this revision

Comitter:
pmallick
Date:
Mon May 09 09:54:26 2022 +0530
Parent:
8:17fbfba02ff1
Commit message:
* Missed out change from the last commit

Changed in this revision

adi_console_menu.c Show annotated file Show diff for this revision Revisions of this file
diff -r 17fbfba02ff1 -r dee92955bc3d adi_console_menu.c
--- 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.