make router functionality of r05 an app.
This commit is contained in:
@@ -29,6 +29,10 @@ initApps:
|
||||
bigcall AppNetwork_Init
|
||||
#endif
|
||||
|
||||
#ifdef APPS_ROUTER
|
||||
bigcall AppRouter_Init
|
||||
#endif
|
||||
|
||||
#ifdef APPS_MOTION
|
||||
bigcall AppMotion_Init
|
||||
#endif
|
||||
@@ -62,9 +66,13 @@ initApps:
|
||||
;
|
||||
|
||||
runApps:
|
||||
#ifdef APPS_ROUTER
|
||||
bigcall AppRouter_Run
|
||||
#endif
|
||||
|
||||
; add more modules here
|
||||
ret
|
||||
; @end
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -242,6 +242,11 @@
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef APPS_ROUTER
|
||||
.include "apps/router/main.asm"
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef APPS_REPORTSENSORS
|
||||
.include "apps/reportsensors/data.asm"
|
||||
.include "apps/reportsensors/main.asm"
|
||||
|
||||
Reference in New Issue
Block a user