avr: started adding COM2WN module.

This commit is contained in:
Martin Preuss
2025-08-04 22:28:49 +02:00
parent 32bd3bc2f9
commit 0dc4a3a952
4 changed files with 36 additions and 5 deletions

View File

@@ -93,6 +93,11 @@ initModules:
bigcall COM2W1_Init
#endif
#ifdef MODULES_COM2WN
bigcall COM2WN_Init
#endif
#ifdef MODULES_MOTION
bigcall Motion_Init
#endif
@@ -250,6 +255,13 @@ runComModules_loop:
sbci r16, 0
#endif
#ifdef MODULES_COM2WN
push r16
bigcall COM2WN_Run
pop r16
sbci r16, 0
#endif
pop r17
; check for repeat request
tst r16