Skip to content

Commit bafa525

Browse files
philmozphilmoz
authored andcommitted
fix(color): 'Reset' SF does not show telemetry parameter when edited (#4237)
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
1 parent 0e6a5c6 commit bafa525

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

radio/src/gui/colorlcd/special_functions.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ class SpecialFunctionEditPage : public Page
141141
}
142142

143143
case FUNC_RESET:
144-
if (CFN_PARAM(cfn) < FUNC_RESET_PARAM_FIRST_TELEM) {
144+
if (CFN_PARAM(cfn) <= FUNC_RESET_PARAM_LAST) {
145145
new StaticText(line, rect_t{}, STR_RESET, 0, COLOR_THEME_PRIMARY1);
146146
auto choice = new Choice(
147147
line, rect_t{}, 0,

0 commit comments

Comments
 (0)