Browse Source

remove decimal place from "total" to have more space

pull/1027/head
Stephan Enderlein 2 years ago
parent
commit
6a11a1a3b7
  1. 2
      src/plugins/Display/Display_Mono_64X48.h

2
src/plugins/Display/Display_Mono_64X48.h

@ -80,7 +80,7 @@ class DisplayMono64X48 : public DisplayMono {
snprintf(mFmtText, DISP_FMT_TEXT_LEN, "D: %4.0f Wh", totalYieldDay);
printText(mFmtText, 1);
snprintf(mFmtText, DISP_FMT_TEXT_LEN, "T: %.1f kWh", totalYieldTotal);
snprintf(mFmtText, DISP_FMT_TEXT_LEN, "T: %4.0f kWh", totalYieldTotal);
printText(mFmtText, 2);
IPAddress ip = WiFi.localIP();

Loading…
Cancel
Save