diff --git a/source/config.c b/source/config.c index 6a702a4..9dd0e32 100644 --- a/source/config.c +++ b/source/config.c @@ -201,8 +201,7 @@ void configMenu(bool oldPinStatus) drawCharacter(selected, 10 + multiOptions[selectedOption].posXs[oldEnabled] * SPACING_X, multiOptions[selectedOption].posY, COLOR_BLACK); multiOptions[selectedOption].enabled = oldEnabled == 3 ? 0 : oldEnabled + 1; - if(!selectedOption) - updateBrightness(multiOptions[selectedOption].enabled); + if(!selectedOption) updateBrightness(multiOptions[0].enabled); } else {