avr: fixed abug.

This commit is contained in:
Martin Preuss
2024-09-09 15:50:10 +02:00
parent 9bd376464a
commit fd43a89bcd

View File

@@ -58,7 +58,7 @@ LedSimple_Init:
LedSimple_Every100ms:
lds r16, ledSimpleTimer
dec r16
brne LedSimple_Every100ms_zero
breq LedSimple_Every100ms_zero
rjmp LedSimple_Every100ms_setTimer
LedSimple_Every100ms_zero:
sbic LED_SIMPLE_PORT, LED_SIMPLE_PINNUM ; skip next op if LED is on