diff --git a/code/espurna/utils.cpp b/code/espurna/utils.cpp index 1c0e9ef3..95976d48 100644 --- a/code/espurna/utils.cpp +++ b/code/espurna/utils.cpp @@ -295,7 +295,7 @@ void infoUptime() { spec.tm_min, spec.tm_sec ); #else - DEBUG_MSG_P(PSTR("[MAIN] Uptime: %lu seconds\n"), uptime); + DEBUG_MSG_P(PSTR("[MAIN] Uptime: %lu seconds\n"), getUptime()); #endif // NTP_SUPPORT }