Skip to content

Commit

Permalink
fix(bw): analog debug page text overlap (#4951)
Browse files Browse the repository at this point in the history
  • Loading branch information
philmoz authored May 1, 2024
1 parent 7968867 commit df339e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions radio/src/gui/128x64/radio_diaganas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@ void menuRadioDiagAnalogs(event_t event)
if (entryCount == 0) {
lastShownAnalogValue[i] = getAnalogValue(i); // Update value
}
lcdDrawNumber(x+3*FW-1, y, lastShownAnalogValue[i],
lcdDrawNumber(x+3*FW+1, y, lastShownAnalogValue[i],
LEADING0|LEFT, 4);
break;
case (ANAVIEW_CALIB):
default:
lcdDrawNumber(x+3*FW-1, y, anaIn(i), LEADING0|LEFT, 4);
lcdDrawNumber(x+3*FW+1, y, anaIn(i), LEADING0|LEFT, 4);
break;
}
lcdDrawNumber(x+10*FW-1, y,
lcdDrawNumber(x+(LCD_W / 2 - INDENT_WIDTH), y,
(int16_t)calibratedAnalogs[i]*25/256,
RIGHT);
}
Expand Down

0 comments on commit df339e9

Please sign in to comment.