From 98cdbe0784fee2dbb395843aa137edbcd0bb8b86 Mon Sep 17 00:00:00 2001 From: Aurora Date: Tue, 6 Sep 2016 22:27:23 +0200 Subject: [PATCH] Minor stuff --- source/config.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 {