From 72c8955a48d903e277c3ce49a53f343326f22ec7 Mon Sep 17 00:00:00 2001 From: philmoz Date: Wed, 25 Oct 2023 07:36:27 +1100 Subject: [PATCH] FIx issue where 'Reset' V1 parameter not shown on edit page for SF. --- 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 1b0b83d2bec..7cf76b2dbbe 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,