[Horus] Lua model scripts added

This commit is contained in:
Bertrand Songis
2015-12-06 22:54:43 +01:00
parent 9d29b483c5
commit 1e2130de53
7 changed files with 49 additions and 43 deletions
+6 -1
View File
@@ -144,10 +144,15 @@ extern "C" {
extern uint16_t maxLuaInterval;
extern uint16_t maxLuaDuration;
#if defined(PCBTARANIS)
#define IS_MASKABLE(key) ((key) != KEY_EXIT && (key) != KEY_ENTER && (key) != KEY_PAGE)
#elif defined(PCBHORUS)
#define IS_MASKABLE(key) ((key) != KEY_EXIT && (key) != KEY_ENTER)
#endif
#else // #if defined(LUA)
#define LUA_LOAD_MODEL_SCRIPTS()
#endif // #if defined(LUA)
#endif // #ifndef lua_api_h
#endif // #ifndef lua_api_h