Merge branch 'main' into HendrikRauh/issue33

This commit is contained in:
Hendrik Rauh 2024-12-18 19:46:42 +01:00 committed by GitHub
commit 902448a243
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -75,7 +75,7 @@ void ledBlink(int ms)
timer = timerBegin(0, 80, true); // timer 0, prescalar: 80, UP counting
timerAttachInterrupt(timer, &onTimer, true); // Attach interrupt
}
else if (ms == 0)
if (ms == 0)
{
timerAlarmDisable(timer);
analogWrite(PIN_LED, brightness_led);