Skip to content

Conversation

klutvott123
Copy link
Member

@klutvott123 klutvott123 commented Dec 12, 2019

TEXT_COLOR is not a thing on the radios with low resolution screen.
When trying to load the script on one of these radios it won't work as it tries to perform arithmetic on a nil value.
It worked in earlier versions because NoTelem was in the pre.lua file for each radio. Now it's all in the same table that is loaded for all radios.

Bug introduced in #295. My mistake. Sorry

EDIT:
Made clipValue global again. Used by VTX page. Was sure I did a git grep but apparently not.

Added commit to fix the Page.values check before entering editing state.
This is old code. i is not used anymore and currentField is not the index for the values we want to edit.

TEXT_COLOR is not a thing on the radios with low resolution screen.
@mikeller mikeller added this to the 1.5 milestone Dec 13, 2019
mikeller
mikeller previously approved these changes Dec 13, 2019
Needed by vtx page
This is old code. i is not used anymore and currentField is not the index for the values we want to edit.
@klutvott123 klutvott123 changed the title Fix TEXT_COLOR bug Fix TEXT_COLOR bug + other fixes Dec 17, 2019
@mikeller mikeller merged commit f8c7a79 into betaflight:master Dec 22, 2019
@klutvott123 klutvott123 deleted the TEXT_COLOR-fix branch February 5, 2020 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants