From f101aef582c2b68cfe8e4704ae2d695fc08d8cdf Mon Sep 17 00:00:00 2001 From: philmoz Date: Wed, 25 Oct 2023 12:27:35 +1100 Subject: [PATCH] fix(color): 'Reset' SF does not show telemetry parameter when edited (#4237) Co-authored-by: philmoz --- radio/src/gui/colorlcd/special_functions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/gui/colorlcd/special_functions.cpp b/radio/src/gui/colorlcd/special_functions.cpp index 1b0b83d2b..7cf76b2db 100644 --- a/radio/src/gui/colorlcd/special_functions.cpp +++ b/radio/src/gui/colorlcd/special_functions.cpp @@ -142,7 +142,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,