From 295b90f49cfa1a1459af0e1cab023cda4bd21e9e Mon Sep 17 00:00:00 2001 From: proddy Date: Tue, 13 Feb 2024 10:56:50 +0100 Subject: [PATCH] NTP log text --- src/system.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/system.cpp b/src/system.cpp index 5a1752943..c8f007b24 100644 --- a/src/system.cpp +++ b/src/system.cpp @@ -1557,8 +1557,8 @@ std::string System::reset_reason(uint8_t cpu) const { // set NTP status void System::ntp_connected(bool b) { - if (b != ntp_connected_) { - LOG_INFO(b ? "NTP connected" : "NTP disconnected"); // if changed report it + if (b != ntp_connected_ && !b) { + LOG_WARNING("NTP disconnected"); // if turned off report it } ntp_connected_ = b;