Skip to content

Commit f101aef

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

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
@@ -142,7 +142,7 @@ class SpecialFunctionEditPage : public Page
142142
}
143143

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

0 commit comments

Comments
 (0)