Skip to content

NEXT/PREV keypress causes Telemetry view page changes #313

Closed
@chronowarper

Description

@chronowarper

Radio: FrSky X9D+ (SE, pre-2019)
Software/Firmware: Clean install of OpenTX 2.3.5 (clean wipe of microSD)
copied BF 1.4.1 lua over

Issue:

When I'm in the BF LUA scripts page, pressing +/- would move the selected line forward/backward, but also flip the telemetry page between the BF lua and the OpenTX telemetry pages

This would just be a nuisance except... it also happens when I try to edit values, which kicks me out of edit mode.

Steps to repro:
go to menu page 14 (display)
set up 2 screens:
screen #1 - Scripts -> BF
screen #2 - num

go to top menu, hold page to enter telemetry scripts, then press +/-

Additional isolation:
This does not seem to be an issue with the if-elseif block in ui.lua in line 301~354, as I can comment out the incLine/decLine function calls on button events, and I still observe the telemetry page flips.

I'm not wholly familiar with the OpenTX/LUA, so I'm not sure where to look next. I found the telemtry menu block by looking at the diff of code checkin for #290.

Workarounds:

Can WAR this by only enabling one screen (ie only using Scripts -> BF).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions