This is happening with Radiomaster Zorro and Radiomaster TX12 MK2 running EdgeTX and the Spirit 3.3.2 LUA (which is what is linked at
http://manual.spirit-system.com/index.p ... stallation)
I was able to fix it by adding EVT_VIRTUAL_NEXT_PAGE and EVT_VIRTUAL_PREV_PAGE to the if statements at the end.
Code:
local function run(event)
if event == nil then
return 2
elseif event == EVT_PAGE_BREAK or event == EVT_RIGHT_BREAK or event == EVT_VIRTUAL_NEXT_PAGE then
selectPage(1)
elseif event == EVT_PAGE_LONG or event == EVT_LEFT_BREAK or event == EVT_VIRTUAL_PREV_PAGE then
killEvents(event);
selectPage(-1)
end
fields = pages[page][1]
local result = runFieldsPage(event)
refreshNext()
return result
end
I believe all that's really needed are the EVT_VIRTUAL_xxx_PAGE checks after skimming the documentation for OpenTX and EdgeTX:
https://luadoc.edgetx.org/part_iii_-_op ... ual-eventshttps://doc.open-tx.org/opentx-2-3-lua- ... ual-events