avr: fixed docu.

This commit is contained in:
Martin Preuss
2024-09-18 00:11:59 +02:00
parent f912c537d4
commit b490646799

View File

@@ -39,7 +39,7 @@ BASETIMER_BEGIN:
; ---------------------------------------------------------------------------
; @rotuine BaseTimer_Init @global
; @routine BaseTimer_Init @global
;
; @clobbers r16, r17, x
@@ -60,7 +60,7 @@ BaseTimer_Init: ; setup timer for IRQ every 100ms
ldi r16, (1<<OCF0A) ; clear pending interrupts
out TIFR0, r16
ldi r16, (1<<OCIE0A)
ldi r16, (1<<OCIE0A) ; Timer/Counter0 Output Compare Match A Interrupt Enable
out TIMSK0, r16
;
@@ -91,6 +91,7 @@ BaseTimer_Init: ; setup timer for IRQ every 100ms
sec
ret
; @end