mirror of
https://github.com/scottchiefbaker/ESP-WebOTA.git
synced 2024-08-30 18:12:33 +00:00
Need a couple more chars
This commit is contained in:
parent
940d7bd48d
commit
19204e3b35
@ -351,7 +351,7 @@ String WebOTA::human_time(uint32_t sec) {
|
|||||||
int mins = (sec / 60);
|
int mins = (sec / 60);
|
||||||
sec = sec % 60;
|
sec = sec % 60;
|
||||||
|
|
||||||
char buf[20] = "";
|
char buf[24] = "";
|
||||||
if (days) {
|
if (days) {
|
||||||
snprintf(buf, sizeof(buf), "%d days %d hours\n", days, hours);
|
snprintf(buf, sizeof(buf), "%d days %d hours\n", days, hours);
|
||||||
} else if (hours) {
|
} else if (hours) {
|
||||||
|
Loading…
Reference in New Issue
Block a user