From 9e80636acb4165860b065d21892b2e5e740688c9 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Wed, 18 Sep 2024 20:23:16 +0200 Subject: [PATCH] avr: enable sk6812 module. --- avr/main.asm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/avr/main.asm b/avr/main.asm index 359d356..a284e9d 100644 --- a/avr/main.asm +++ b/avr/main.asm @@ -33,7 +33,8 @@ main: ; rcall watchdogOff ; turn off watchdog timer (sometimes it stays on after reboot) rcall systemSetSpeed - + + rcall initModules rcall Utils_SetupUid @@ -65,14 +66,15 @@ main: main_loop: rcall runModules - sei ; make sure interrupts really are enabled ; only modify SE, SM1 and SM0 + cli in r16, MCUCR ldi r17, (1<