From e847130f0c1a4984b84c0390c4ab41128461c5e1 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Sun, 3 Nov 2024 15:32:46 +0100 Subject: [PATCH] avr: handle ma_light module in main module. --- avr/main.asm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/avr/main.asm b/avr/main.asm index 3a2780d..a9f34c2 100644 --- a/avr/main.asm +++ b/avr/main.asm @@ -158,6 +158,11 @@ initModules: rcall Motion_Init #endif +#ifdef MODULES_MOTION_LIGHT + rcall MotionLight_Init +#endif + + ; done ret @@ -211,6 +216,11 @@ runModules_ComEnd: rcall Motion_Run #endif + +#ifdef MODULES_MOTION_LIGHT +; rcall MotionLight_Run +#endif + ; add more modules here ret