avr: started adding COM2WN module.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user