From caa7138738d92edb3620a578aa0487cc08900e17 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Wed, 18 Sep 2024 20:24:48 +0200 Subject: [PATCH] avr: disabled debug led. --- avr/modules/timer/main.asm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/avr/modules/timer/main.asm b/avr/modules/timer/main.asm index c0d878d..f44589d 100644 --- a/avr/modules/timer/main.asm +++ b/avr/modules/timer/main.asm @@ -89,10 +89,14 @@ onSystemTimerTick: onSystemTimerTick_SecondElapsed: ldi r16, 10 ; reload counter (10=every sec) sts timerModuleTickCounter, r16 + ldi xl, LOW(timerModuleCounterSecs) ldi xh, HIGH(timerModuleCounterSecs) rcall Utils_IncrementCounter32 ; inc uptime counter +; sbi DEBUG_LED_DDR, DEBUG_LED_PINNUM ; out +; sbi DEBUG_LED_PORT_IN, DEBUG_LED_PINNUM ; toggle + onSystemTimerTick_call: rcall timerRunTimers rcall onEvery100ms