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.");
|
DoString(0,8,"MSC Enabled.");
|
||||||
lcdDisplay();
|
lcdDisplay();
|
||||||
usbMSCInit();
|
usbMSCInit();
|
||||||
while(!getInputRaw())delayms(10);
|
getInputWaitRelease();
|
||||||
|
getInputWait();
|
||||||
DoString(0,16,"MSC Disabled.");
|
DoString(0,16,"MSC Disabled.");
|
||||||
usbMSCOff();
|
usbMSCOff();
|
||||||
};
|
};
|
||||||
|
|
|
@ -76,6 +76,7 @@ void handleMenu(const struct MENU *the_menu) {
|
||||||
lcdClear();
|
lcdClear();
|
||||||
lcdPrintln("Called...");
|
lcdPrintln("Called...");
|
||||||
lcdRefresh();
|
lcdRefresh();
|
||||||
|
getInputWaitRelease();
|
||||||
if (the_menu->entries[menuselection]->callback!=NULL)
|
if (the_menu->entries[menuselection]->callback!=NULL)
|
||||||
the_menu->entries[menuselection]->callback();
|
the_menu->entries[menuselection]->callback();
|
||||||
lcdDisplay();
|
lcdDisplay();
|
||||||
|
@ -86,6 +87,7 @@ void handleMenu(const struct MENU *the_menu) {
|
||||||
/* no button pressed */
|
/* no button pressed */
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
getInputWaitRelease();
|
||||||
|
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue