mirror of
https://github.com/lumapu/ahoy.git
synced 2025-08-06 09:58:23 +02:00
remove decimal place from "total" to have more space
This commit is contained in:
parent
e04f3ff948
commit
6a11a1a3b7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue