avr: cleanup handling of apps and modules in devices/all
This commit is contained in:
60
avr/devices/all/modules_msg.asm
Normal file
60
avr/devices/all/modules_msg.asm
Normal file
@@ -0,0 +1,60 @@
|
||||
; ***************************************************************************
|
||||
; copyright : (C) 2026 by Martin Preuss
|
||||
; email : martin@libchipcard.de
|
||||
;
|
||||
; ***************************************************************************
|
||||
; * This file is part of the project "AqHome". *
|
||||
; * Please see toplevel file COPYING of that project for license details. *
|
||||
; ***************************************************************************
|
||||
|
||||
#ifndef AQH_AVR_DEVICES_ALL_MODULES_MSG_ASM
|
||||
#define AQH_AVR_DEVICES_ALL_MODULES_MSG_ASM
|
||||
|
||||
|
||||
; ***************************************************************************
|
||||
; code
|
||||
|
||||
.cseg
|
||||
|
||||
|
||||
modulesOnPacketReceived:
|
||||
|
||||
#ifdef MODULES_SK6812
|
||||
bigcall SK6812_OnPacketReceived
|
||||
#endif
|
||||
|
||||
#ifdef MODULES_LED_SIMPLE
|
||||
#ifdef MODULES_NETWORK
|
||||
bigcall LedSimple_OnPacketReceived
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef MODULES_BEEPER_SIMPLE
|
||||
#ifdef MODULES_NETWORK
|
||||
bigcall BeeperSimple_OnPacketReceived
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef MODULES_DS3231
|
||||
#ifdef MODULES_NETWORK
|
||||
bigcall Ds3231_OnPacketReceived
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef MODULES_DS3231
|
||||
#ifdef MODULES_NETWORK
|
||||
bigcall Ds3231_OnPacketReceived
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
; add more here
|
||||
|
||||
ret
|
||||
; @end
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user