[Taranis] It's now possible to use killEvents() on PAGE_LONG in Lua standalone scripts
This commit is contained in:
@@ -127,7 +127,7 @@ extern uint16_t maxLuaInterval;
|
|||||||
extern uint16_t maxLuaDuration;
|
extern uint16_t maxLuaDuration;
|
||||||
|
|
||||||
#if defined(PCBTARANIS)
|
#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)
|
#elif defined(PCBHORUS)
|
||||||
#define IS_MASKABLE(key) ((key) != KEY_EXIT && (key) != KEY_ENTER)
|
#define IS_MASKABLE(key) ((key) != KEY_EXIT && (key) != KEY_ENTER)
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user