allow for private tick counter and special timer frequencies.

This commit is contained in:
Martin Preuss
2025-05-24 17:24:46 +02:00
parent 158cf994c5
commit 3e9aeeed05
3 changed files with 40 additions and 0 deletions

View File

@@ -92,7 +92,11 @@ BaseTimer_Run:
BaseTimer_Run_loop: ; for every timer tick
push r24
push r25
.ifdef BASETIMER_PRIVATE_TICK_FN
rcall privateTimerTick
.else
rcall onSystemTimerTick
.endif
pop r25
pop r24
sbiw r25:r24, 1