Better this way
This commit is contained in:
parent
c83edea7ad
commit
5c855ea52f
@ -313,6 +313,8 @@ void configMenu(bool isSdMode, bool oldPinStatus, u32 oldPinMode)
|
|||||||
pressed = BUTTON_UP;
|
pressed = BUTTON_UP;
|
||||||
selectedOption = totalIndexes;
|
selectedOption = totalIndexes;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(selectedOption < multiOptionsAmount)
|
if(selectedOption < multiOptionsAmount)
|
||||||
|
@ -228,7 +228,7 @@ void payloadMenu(void)
|
|||||||
u32 pressed = 0,
|
u32 pressed = 0,
|
||||||
selectedPayload = 0;
|
selectedPayload = 0;
|
||||||
|
|
||||||
while(!(pressed & (BUTTON_A | BUTTON_START)))
|
while(pressed != BUTTON_A && pressed != BUTTON_START)
|
||||||
{
|
{
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user