fix(color): 6POS on main view not always redrawn when changed (#2947)

This commit is contained in:
eshifri
2023-01-01 11:22:58 +10:00
committed by GitHub
parent 943b1e7cd0
commit 7e503e823e
+1 -1
View File
@@ -105,7 +105,7 @@ void MainView6POS::checkEvents()
{
Window::checkEvents();
#if NUM_XPOTS > 0 // prevent compiler warning
int16_t newValue = 1 + (potsPos[idx] & 0x0f);
int16_t newValue = (potsPos[idx] & 0x0f);
if (value != newValue) {
value = newValue;
invalidate();