Minor stuff
This commit is contained in:
parent
add17a7994
commit
98cdbe0784
@ -201,8 +201,7 @@ void configMenu(bool oldPinStatus)
|
|||||||
drawCharacter(selected, 10 + multiOptions[selectedOption].posXs[oldEnabled] * SPACING_X, multiOptions[selectedOption].posY, COLOR_BLACK);
|
drawCharacter(selected, 10 + multiOptions[selectedOption].posXs[oldEnabled] * SPACING_X, multiOptions[selectedOption].posY, COLOR_BLACK);
|
||||||
multiOptions[selectedOption].enabled = oldEnabled == 3 ? 0 : oldEnabled + 1;
|
multiOptions[selectedOption].enabled = oldEnabled == 3 ? 0 : oldEnabled + 1;
|
||||||
|
|
||||||
if(!selectedOption)
|
if(!selectedOption) updateBrightness(multiOptions[0].enabled);
|
||||||
updateBrightness(multiOptions[selectedOption].enabled);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user