popMenu is always called without argument

This commit is contained in:
bsongis
2011-10-03 06:52:11 +00:00
parent ac982ef991
commit ec2f6064f4
2 changed files with 7 additions and 8 deletions
+4 -5
View File
@@ -57,17 +57,16 @@ extern MenuFuncP g_menuStack[5];
extern uint8_t g_menuStackPtr;
/// goto given Menu, but substitute current menu in menuStack
void chainMenu(MenuFuncP newMenu);
void chainMenu(MenuFuncP newMenu);
/// goto given Menu, store current menu in menuStack
void pushMenu(MenuFuncP newMenu);
void pushMenu(MenuFuncP newMenu);
/// return to last menu in menustack
void popMenu();
///deliver address of last menu which was popped from
inline MenuFuncP lastPopMenu()
{
return g_menuStack[g_menuStackPtr+1];
}
/// return to last menu in menustack
/// if uppermost is set true, thenmenu return to uppermost menu in menustack
void popMenu(bool uppermost=false);
void menuMainView(uint8_t event);
void menuProcSetup(uint8_t event);