Aurora Wright 2017-11-22 19:03:39 +01:00
parent 55836b48af
commit 56e54cd110
2 changed files with 4 additions and 0 deletions

View File

@ -288,6 +288,8 @@ void configMenu(bool oldPinStatus, u32 oldPinMode)
} }
while(!(pressed & MENU_BUTTONS)); while(!(pressed & MENU_BUTTONS));
pressed &= MENU_BUTTONS;
if(pressed == BUTTON_START) break; if(pressed == BUTTON_START) break;
if(pressed != BUTTON_A) if(pressed != BUTTON_A)

View File

@ -208,6 +208,8 @@ bool payloadMenu(char *path)
} }
while(!(pressed & MENU_BUTTONS)); while(!(pressed & MENU_BUTTONS));
pressed &= MENU_BUTTONS;
u32 oldSelectedPayload = selectedPayload; u32 oldSelectedPayload = selectedPayload;
switch(pressed) switch(pressed)