mirror of
https://github.com/opentx/opentx.git
synced 2025-07-14 03:49:52 +03:00
[Horus] Lua model scripts added
This commit is contained in:
parent
9d29b483c5
commit
1e2130de53
7 changed files with 49 additions and 43 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue