From 3ae7bafdd364dfcf23b2ad383b5acad7b2d37207 Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Fri, 16 Apr 2021 11:42:10 +0200 Subject: [PATCH] Fix sliders value type (16 bits) --- radio/src/gui/colorlcd/layouts/sliders.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/gui/colorlcd/layouts/sliders.h b/radio/src/gui/colorlcd/layouts/sliders.h index cbaaaa9da..72cc539b4 100644 --- a/radio/src/gui/colorlcd/layouts/sliders.h +++ b/radio/src/gui/colorlcd/layouts/sliders.h @@ -49,7 +49,7 @@ class MainViewSlider : public Window void checkEvents() override { Window::checkEvents(); - int8_t newValue = getValue(); + int16_t newValue = getValue(); if (value != newValue) { value = newValue; invalidate();