[color] fixed displayed trim range

This commit is contained in:
Raphael Coeffic
2021-07-14 14:25:12 +02:00
parent 90bd1b6329
commit ed59ce2819
+1 -1
View File
@@ -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();