From ed59ce281934b076e6a2c4d12a53b44bc2d7940e Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Wed, 14 Jul 2021 14:25:12 +0200 Subject: [PATCH] [color] fixed displayed trim range --- radio/src/gui/colorlcd/layouts/trims.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/gui/colorlcd/layouts/trims.cpp b/radio/src/gui/colorlcd/layouts/trims.cpp index 312d7adbf..f164b6968 100644 --- a/radio/src/gui/colorlcd/layouts/trims.cpp +++ b/radio/src/gui/colorlcd/layouts/trims.cpp @@ -25,7 +25,7 @@ void MainViewTrim::checkEvents() { Window::checkEvents(); int8_t stickIndex = CONVERT_MODE(idx); - int8_t newValue = getTrimValue(mixerCurrentFlightMode, stickIndex); + int newValue = getTrimValue(mixerCurrentFlightMode, stickIndex); if (value != newValue) { value = newValue; invalidate();