diff options
-rw-r--r-- | ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -210,7 +210,7 @@ static void doRun () { speakerStart (SPEAKER_BEEP); timerStop (); timerStart (ALARM_TIME); - } else { + } else if (currLed > 0) { /* one step */ --brightness[currLed]; pwmSet (horizonLed (currLed), brightness[currLed]); |