From abf11b188f1c7a0c750e7791d777446e9c5c05dc Mon Sep 17 00:00:00 2001 From: Erick Ahmed Date: Fri, 26 Dec 2025 16:10:55 +0100 Subject: [PATCH] Move COM0A0 setup to led.inc --- src/timer.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/timer.inc b/src/timer.inc index 8cd4cf6..ce8985d 100644 --- a/src/timer.inc +++ b/src/timer.inc @@ -1,7 +1,7 @@ ; Timer0 is static and used for the led timer0_set: - ldi r16, (1 << WGM01) ; Load 00000010 to register (bit 1=CTC) - out TCCR0A, r16 ; On T/C Control Register A, enable CTC and COM0A0 + ldi r16, (1 << WGM01) ; Load 00000010 to register (bit 1=CTC) + out TCCR0A, r16 ; On T/C Control Register A, enable CTC and ldi r16, 244 ; Load counter target limit value (ticks) out OCR0A, r16 ; Compare target to current counter