fixup
This commit is contained in:
parent
08460bd403
commit
76a164e651
|
|
@ -112,9 +112,6 @@ extern uint8_t menu_item_back_P(const char* str);
|
||||||
#define ON_MENU_LEAVE(func) do { if (menu_item_leave()){ func } } while (0)
|
#define ON_MENU_LEAVE(func) do { if (menu_item_leave()){ func } } while (0)
|
||||||
extern bool menu_item_leave();
|
extern bool menu_item_leave();
|
||||||
|
|
||||||
/// Entering a new menu
|
|
||||||
/// @param func lines of code to run once upon enter a menu or submenu
|
|
||||||
|
|
||||||
#define MENU_ITEM_FUNCTION_P(str, func) do { if (menu_item_function_P(str, func)) return; } while (0)
|
#define MENU_ITEM_FUNCTION_P(str, func) do { if (menu_item_function_P(str, func)) return; } while (0)
|
||||||
extern uint8_t menu_item_function_P(const char* str, menu_func_t func);
|
extern uint8_t menu_item_function_P(const char* str, menu_func_t func);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue