Add REGA Alarm call functionality

This commit is contained in:
Markus Baertschi
2025-02-07 19:44:46 +01:00
parent af891c6b6a
commit d45a477327
9 changed files with 290 additions and 1 deletions

View File

@@ -96,8 +96,12 @@ void (*ProcessKeysFunctions[])(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld)
#endif
};
#ifdef ENABLE_REGA
// This is a hack for REGA as I need a special display element only for it with no key
static_assert(ARRAY_SIZE(ProcessKeysFunctions) == DISPLAY_N_ELEM-1);
#else
static_assert(ARRAY_SIZE(ProcessKeysFunctions) == DISPLAY_N_ELEM);
#endif
static void CheckForIncoming(void)