From fd43a89bcd57969633cabc9d24006d49a96e0ccb Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Mon, 9 Sep 2024 15:50:10 +0200 Subject: [PATCH] avr: fixed abug. --- avr/modules/led_simple/main.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avr/modules/led_simple/main.asm b/avr/modules/led_simple/main.asm index 2a7c975..dcd45b5 100644 --- a/avr/modules/led_simple/main.asm +++ b/avr/modules/led_simple/main.asm @@ -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