mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-09-30 04:37:44 +02:00
Fix human-readable uptime example so it compiles (#949)
This commit is contained in:
parent
0e949047ae
commit
e4d01c804e
@ -58,7 +58,7 @@ with human readable output.
|
|||||||
return (
|
return (
|
||||||
(days ? String(days) + "d " : "") +
|
(days ? String(days) + "d " : "") +
|
||||||
(hours ? String(hours) + "h " : "") +
|
(hours ? String(hours) + "h " : "") +
|
||||||
(minutes ? String(minutes + "m " : "") +
|
(minutes ? String(minutes) + "m " : "") +
|
||||||
(String(seconds) + "s")
|
(String(seconds) + "s")
|
||||||
).c_str();
|
).c_str();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user