Skip to content

Commit

Permalink
fix(color): 'Reset' SF does not show telemetry parameter when edited (#…
Browse files Browse the repository at this point in the history
…4237)

Co-authored-by: philmoz <[email protected]>
  • Loading branch information
2 people authored and pfeerick committed Oct 25, 2023
1 parent 0e6a5c6 commit bafa525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radio/src/gui/colorlcd/special_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class SpecialFunctionEditPage : public Page
}

case FUNC_RESET:
if (CFN_PARAM(cfn) < FUNC_RESET_PARAM_FIRST_TELEM) {
if (CFN_PARAM(cfn) <= FUNC_RESET_PARAM_LAST) {
new StaticText(line, rect_t{}, STR_RESET, 0, COLOR_THEME_PRIMARY1);
auto choice = new Choice(
line, rect_t{}, 0,
Expand Down

0 comments on commit bafa525

Please sign in to comment.