r05: no longer use APPS_NETWORK.

Implemented some of those features in APP_ROUTER like PING, REBOOT.
This commit is contained in:
Martin Preuss
2025-07-06 20:21:51 +02:00
parent 1824e8ccdf
commit 6ecc1721b0
5 changed files with 136 additions and 7 deletions

View File

@@ -89,6 +89,10 @@ mainAppsOnPacketReceived:
bigcall AppNetwork_HandleMsg
#endif
#ifdef APPS_ROUTER
bigcall AppRouter_HandleMsg
#endif
#ifdef APPS_MA_LIGHT
bigcall AppMotionLight_OnPacketReceived
#endif

View File

@@ -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

View File

@@ -186,6 +186,10 @@ sysOnEveryDay:
bigcall AppNetwork_EveryDay
#endif
#ifdef APPS_ROUTER
bigcall AppRouter_EveryDay
#endif
bigjmp onEveryDay
; @end