From 0c07a3d648a929732190ab9b7378a7f6c272ab55 Mon Sep 17 00:00:00 2001 From: philmoz Date: Sun, 16 Aug 2026 19:10:50 +1000 Subject: [PATCH] fix(color): Outputs widget does not update after changing 'Extended Limits' (#7662) --- radio/src/gui/colorlcd/widgets/outputs.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/radio/src/gui/colorlcd/widgets/outputs.cpp b/radio/src/gui/colorlcd/widgets/outputs.cpp index 6178dfbeb..58f8f15c5 100644 --- a/radio/src/gui/colorlcd/widgets/outputs.cpp +++ b/radio/src/gui/colorlcd/widgets/outputs.cpp @@ -99,8 +99,9 @@ class ChannelValue : public Window int16_t value = channelOutputs[channel]; - if (value != lastValue) { + if (value != lastValue || lastExtendedLimits != g_model.extendedLimits) { lastValue = value; + lastExtendedLimits = g_model.extendedLimits; std::string s; if (g_eeGeneral.ppmunit == PPM_US) @@ -146,6 +147,7 @@ class ChannelValue : public Window int16_t lastValue = OUTPUT_INVALID_VALUE; int16_t lastScaledValue = OUTPUT_INVALID_VALUE; std::string lastText; + bool lastExtendedLimits = false; bool chanHasName = false; lv_obj_t* valueLabel = nullptr; lv_obj_t* chanLabel = nullptr;