r05: no longer use APPS_NETWORK.
Implemented some of those features in APP_ROUTER like PING, REBOOT.
This commit is contained in:
@@ -89,6 +89,10 @@ mainAppsOnPacketReceived:
|
||||
bigcall AppNetwork_HandleMsg
|
||||
#endif
|
||||
|
||||
#ifdef APPS_ROUTER
|
||||
bigcall AppRouter_HandleMsg
|
||||
#endif
|
||||
|
||||
#ifdef APPS_MA_LIGHT
|
||||
bigcall AppMotionLight_OnPacketReceived
|
||||
#endif
|
||||
|
||||
@@ -244,6 +244,9 @@
|
||||
|
||||
#ifdef APPS_ROUTER
|
||||
.include "apps/router/main.asm"
|
||||
.include "modules/network/msg/reboot-d.asm"
|
||||
.include "modules/network/msg/reboot-r.asm"
|
||||
.include "modules/network/msg/pong-w.asm"
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -186,6 +186,10 @@ sysOnEveryDay:
|
||||
bigcall AppNetwork_EveryDay
|
||||
#endif
|
||||
|
||||
#ifdef APPS_ROUTER
|
||||
bigcall AppRouter_EveryDay
|
||||
#endif
|
||||
|
||||
bigjmp onEveryDay
|
||||
; @end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user