added simple beeper module.
This commit is contained in:
@@ -177,6 +177,14 @@
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef MODULES_BEEPER_SIMPLE
|
||||
.include "modules/beeper_simple/main.asm"
|
||||
#ifdef MODULES_NETWORK
|
||||
.include "modules/beeper_simple/recv.asm"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef MODULES_TWI_MASTER
|
||||
.include "modules/twimaster/main.asm"
|
||||
#endif
|
||||
|
||||
@@ -125,6 +125,11 @@ onSystemTimerTick:
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef MODULES_BEEPER_SIMPLE
|
||||
bigcall BeeperSimple_Every100ms
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef MODULES_UART_BITBANG
|
||||
bigcall UART_BitBang_Every100ms
|
||||
#endif
|
||||
|
||||
@@ -58,12 +58,16 @@ initModules:
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#ifdef MODULES_LED_ACTIVITY
|
||||
bigcall LedActivity_Init
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef MODULES_BEEPER_SIMPLE
|
||||
bigcall BeeperSimple_Init
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef MODULES_COM
|
||||
bigcall Com2_Init ; init COM module
|
||||
bigcall CPRO_Init ; init COM protocol module
|
||||
@@ -325,6 +329,13 @@ mainModulesOnPacketReceived:
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef MODULES_BEEPER_SIMPLE
|
||||
#ifdef MODULES_NETWORK
|
||||
bigcall BeeperSimple_OnPacketReceived
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
; add more here
|
||||
|
||||
ret
|
||||
|
||||
Reference in New Issue
Block a user