From 53a764abc865ec130f5f5b267eb07ec015ebde9f Mon Sep 17 00:00:00 2001 From: Ralf Rachinger Date: Tue, 6 Dec 2022 06:00:43 +0000 Subject: [PATCH] Don't autofail if NTP server can't be reached during initalization (#1498) This fixes an issue with a restricted network without internet access, where the hardcoded ntp server can't be reached and thus the esp resets, as it's not able to finish initalization. --- code/main/main.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/code/main/main.cpp b/code/main/main.cpp index e97236e9..c26baabd 100644 --- a/code/main/main.cpp +++ b/code/main/main.cpp @@ -214,7 +214,6 @@ extern "C" void app_main(void) if (!setup_time()) { LogFile.WriteToFile(ESP_LOG_ERROR, TAG, "NTP Initialization failed!"); - initSucessful = false; } setBootTime();