Skip to content

Commit 09588cf

Browse files
committed
1.4.0 fixes (#260)
1.4.0 fixes
1 parent 4fd9cbe commit 09588cf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: src/SCRIPTS/BF/MSP/common.lua

+1
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ function mspPollReply()
129129
while true do
130130
ret = protocol.mspPoll()
131131
if type(ret) == "table" then
132+
mspLastReq = 0
132133
return mspRxReq, ret
133134
else
134135
break

Diff for: src/SCRIPTS/BF/ui.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -325,10 +325,10 @@ function run_ui(event)
325325
end
326326
-- normal page viewing
327327
elseif currentState <= pageStatus.display then
328-
if event == EVT_VIRTUAL_PREV_PAGE then
328+
if not isTelemetryScript and event == EVT_VIRTUAL_PREV_PAGE then
329329
incPage(-1)
330330
killEvents(event) -- X10/T16 issue: pageUp is a long press
331-
elseif event == EVT_VIRTUAL_NEXT_PAGE or event == EVT_VIRTUAL_MENU then
331+
elseif (not isTelemetryScript and event == EVT_VIRTUAL_NEXT_PAGE) or (isTelemetryScript and event == EVT_VIRTUAL_MENU) then
332332
incPage(1)
333333
elseif event == EVT_VIRTUAL_PREV or event == EVT_VIRTUAL_PREV_REPT then
334334
incLine(-1)

0 commit comments

Comments
 (0)