1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-17 21:35:27 +03:00

Improve checks

This commit is contained in:
3djc 2019-10-02 19:43:47 +02:00
parent 3c7bb1640e
commit 6c610ce40d
2 changed files with 2 additions and 0 deletions

View file

@ -56,6 +56,7 @@ local function run(event)
elseif event == EVT_VIRTUAL_MENU then
virtual_menu = virtual_menu + 1
end
killEvents(event);
lcd.clear()
lcd.drawScreenTitle("LUA EVENT TEST", 0, 0)

View file

@ -51,6 +51,7 @@ local function run(event)
virtual_page_next = virtual_page_next +1
elseif event == EVT_PAGE_LONG then
virtual_page_previous = virtual_page_previous + 1
killEvents(event);
elseif event == EVT_ENTER_BREAK then
virtual_enter = virtual_enter + 1
elseif event == EVT_MENU_BREAK then