summaryrefslogtreecommitdiff
path: root/doc/README.menu
diff options
context:
space:
mode:
Diffstat (limited to 'doc/README.menu')
-rw-r--r--doc/README.menu5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/README.menu b/doc/README.menu
index 4ddf914..6ce6bba 100644
--- a/doc/README.menu
+++ b/doc/README.menu
@@ -25,6 +25,11 @@ the interfaces should be available.
Menus are composed of items. Each item has a key used to identify it in
the menu, and an opaque pointer to data controlled by the consumer.
+If you want to show a menu, instead starting the shell, define
+CONFIG_MENU_SHOW. You have to code the int menu_show(int bootdelay)
+function, which handle your menu. This function returns the remaining
+bootdelay.
+
Interfaces
----------
#include "menu.h"