From 19ab8f5271522356aea35d1b8619550ccbc5adca Mon Sep 17 00:00:00 2001 From: Magnus Date: Mon, 5 Dec 2022 22:35:19 +0100 Subject: [PATCH] Added message when new ota is found --- src/wifi.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wifi.cpp b/src/wifi.cpp index e8dd3bb..61188be 100644 --- a/src/wifi.cpp +++ b/src/wifi.cpp @@ -430,6 +430,8 @@ bool WifiConnection::checkFirmwareVersion() { } http.end(); + if (_newFirmware) Log.notice(F("WIFI: Found new version." CR)); + #if LOG_LEVEL == 6 Log.verbose(F("WIFI: OTA found new version %s." CR), _newFirmware ? "true" : "false");