diff --git a/src/lcd.cpp b/src/lcd.cpp index 4c8bbcbcc..133870d81 100644 --- a/src/lcd.cpp +++ b/src/lcd.cpp @@ -440,7 +440,7 @@ void putsTime(uint8_t x,uint8_t y,int16_t tme,uint8_t att,uint8_t att2) // TODO to be optimized with putsTelemetryValue void putsVolts(uint8_t x, uint8_t y, uint16_t volts, uint8_t att) { - lcd_outdezAtt(x, y, (int16_t)volts, att | ((att&PREC2)==PREC2 ? 0 : PREC1)); + lcd_outdezAtt(x, y, (int16_t)volts, (~NO_UNIT) & (att | ((att&PREC2)==PREC2 ? 0 : PREC1))); if (~att & NO_UNIT) lcd_putcAtt(lcd_lastPos, y, 'v', att); }