fix(bw): analog debug page text overlap (#4951)

This commit is contained in:
philmoz
2024-05-02 09:37:11 +10:00
committed by GitHub
parent 796886772e
commit df339e9a42
+3 -3
View File
@@ -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);
}