Skip to content

Commit

Permalink
1.4.0 fixes (#260)
Browse files Browse the repository at this point in the history
1.4.0 fixes
  • Loading branch information
mikeller committed Oct 14, 2019
1 parent 4fd9cbe commit 09588cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/SCRIPTS/BF/MSP/common.lua
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ function mspPollReply()
while true do
ret = protocol.mspPoll()
if type(ret) == "table" then
mspLastReq = 0
return mspRxReq, ret
else
break
Expand Down
4 changes: 2 additions & 2 deletions src/SCRIPTS/BF/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -325,10 +325,10 @@ function run_ui(event)
end
-- normal page viewing
elseif currentState <= pageStatus.display then
if event == EVT_VIRTUAL_PREV_PAGE then
if not isTelemetryScript and event == EVT_VIRTUAL_PREV_PAGE then
incPage(-1)
killEvents(event) -- X10/T16 issue: pageUp is a long press
elseif event == EVT_VIRTUAL_NEXT_PAGE or event == EVT_VIRTUAL_MENU then
elseif (not isTelemetryScript and event == EVT_VIRTUAL_NEXT_PAGE) or (isTelemetryScript and event == EVT_VIRTUAL_MENU) then
incPage(1)
elseif event == EVT_VIRTUAL_PREV or event == EVT_VIRTUAL_PREV_REPT then
incLine(-1)
Expand Down

0 comments on commit 09588cf

Please sign in to comment.