allow for private tick counter and special timer frequencies.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user