Skip to content

Commit

Permalink
Fix display of 6POS display. (EdgeTX#2943)
Browse files Browse the repository at this point in the history
  • Loading branch information
eshifri committed Dec 26, 2022
1 parent 8d5a509 commit b934e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radio/src/gui/colorlcd/layouts/sliders.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

1 comment on commit b934e0a

@Kevltan
Copy link

@Kevltan Kevltan commented on b934e0a Dec 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This solves the issue. Excelent work👍👍👍

Please sign in to comment.