Explorar o código

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.
Ralf Rachinger %!s(int64=3) %!d(string=hai) anos
pai
achega
53a764abc8
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      code/main/main.cpp

+ 0 - 1
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();