Fix some menu regressions because of getInputWait() changes
This commit is contained in:
parent
535b635b0e
commit
5a55da7f76
|
@ -74,7 +74,8 @@ void msc_menu(void){
|
|||
DoString(0,8,"MSC Enabled.");
|
||||
lcdDisplay();
|
||||
usbMSCInit();
|
||||
while(!getInputRaw())delayms(10);
|
||||
getInputWaitRelease();
|
||||
getInputWait();
|
||||
DoString(0,16,"MSC Disabled.");
|
||||
usbMSCOff();
|
||||
};
|
||||
|
|
|
@ -76,6 +76,7 @@ void handleMenu(const struct MENU *the_menu) {
|
|||
lcdClear();
|
||||
lcdPrintln("Called...");
|
||||
lcdRefresh();
|
||||
getInputWaitRelease();
|
||||
if (the_menu->entries[menuselection]->callback!=NULL)
|
||||
the_menu->entries[menuselection]->callback();
|
||||
lcdDisplay();
|
||||
|
@ -86,6 +87,7 @@ void handleMenu(const struct MENU *the_menu) {
|
|||
/* no button pressed */
|
||||
break;
|
||||
}
|
||||
getInputWaitRelease();
|
||||
|
||||
}
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue