mirror of
https://github.com/opentx/opentx.git
synced 2025-07-14 11:59:50 +03:00
[Taranis] It's now possible to use killEvents() on PAGE_LONG in Lua standalone scripts
This commit is contained in:
parent
0da921df0d
commit
3faa81d799
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ extern uint16_t maxLuaInterval;
|
|||
extern uint16_t maxLuaDuration;
|
||||
|
||||
#if defined(PCBTARANIS)
|
||||
#define IS_MASKABLE(key) ((key) != KEY_EXIT && (key) != KEY_ENTER && (key) != KEY_PAGE)
|
||||
#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)
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue