diff --git a/src/node/Fermenter/ProgramPoint.h b/src/node/Fermenter/ProgramPoint.h index c8ee42e..ada186c 100644 --- a/src/node/Fermenter/ProgramPoint.h +++ b/src/node/Fermenter/ProgramPoint.h @@ -11,9 +11,9 @@ inline String durationString(const unsigned long millis) { const unsigned long days = hours / 24; char buffer[15]; if (days > 0) { - snprintf(buffer, sizeof buffer, "%d. %2d:%02d:%02d", days, hours % 24, minutes % 60, seconds % 60); + snprintf(buffer, sizeof buffer, "%lu. %2lu:%02lu:%02lu", days, hours % 24, minutes % 60, seconds % 60); } else { - snprintf(buffer, sizeof buffer, "%d:%02d:%02d", hours % 24, minutes % 60, seconds % 60); + snprintf(buffer, sizeof buffer, "%lu:%02lu:%02lu", hours % 24, minutes % 60, seconds % 60); } return {buffer}; } diff --git a/src/patrix/wifi.cpp b/src/patrix/wifi.cpp index 8ca980a..e3b580f 100644 --- a/src/patrix/wifi.cpp +++ b/src/patrix/wifi.cpp @@ -7,7 +7,7 @@ #define WIFI_SSID "HappyNet" #define WIFI_PASSWORD "1Grausame!Sackratte7" #define NTP_SERVER "107.189.12.98" /* pool.ntp.org */ -#define BOOT_DELAY_SEC 1 +#define BOOT_DELAY_SEC 5 auto wifiConnected = false;