mirror of
https://github.com/opentx/opentx.git
synced 2025-07-15 04:15:26 +03:00
XLite support (#5806)
This commit is contained in:
parent
37f96d452a
commit
99604dccc9
78 changed files with 1098 additions and 1050 deletions
|
@ -155,7 +155,9 @@ extern uint16_t maxLuaInterval;
|
|||
extern uint16_t maxLuaDuration;
|
||||
extern uint8_t instructionsPercent;
|
||||
|
||||
#if defined(PCBTARANIS)
|
||||
#if defined(PCBXLITE)
|
||||
#define IS_MASKABLE(key) ((key) != KEY_EXIT && (key) != KEY_ENTER)
|
||||
#elif defined(PCBTARANIS)
|
||||
#define IS_MASKABLE(key) ((key) != KEY_EXIT && (key) != KEY_ENTER && ((luaState & INTERPRETER_RUNNING_STANDALONE_SCRIPT) || (key) != KEY_PAGE))
|
||||
#elif defined(PCBHORUS)
|
||||
#define IS_MASKABLE(key) ((key) != KEY_EXIT && (key) != KEY_ENTER)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue