From 3ba6011d49df0dd832c2677c44cef37f69513e21 Mon Sep 17 00:00:00 2001 From: Maxim Prokhorov Date: Mon, 4 Jan 2021 05:23:06 +0300 Subject: [PATCH] ntp: fix build when ntp is disabled --- code/espurna/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }