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