display.cpp: 2 decimals in voltage field

This commit is contained in:
Klaus K Wilting 2019-01-26 13:43:19 +01:00
parent 8382037bf7
commit c05edbc2f3

View File

@ -125,7 +125,7 @@ void refreshtheDisplay() {
// update Battery status (line 2) // update Battery status (line 2)
#ifdef HAS_BATTERY_PROBE #ifdef HAS_BATTERY_PROBE
u8x8.setCursor(0, 2); u8x8.setCursor(0, 2);
u8x8.printf("B:%.1fV", batt_voltage / 1000.0); u8x8.printf("B:%.2fV", batt_voltage / 1000.0);
#endif #endif
// update GPS status (line 2) // update GPS status (line 2)