mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-08 20:46:52 +03:00
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.
This commit is contained in:
@@ -214,7 +214,6 @@ extern "C" void app_main(void)
|
|||||||
|
|
||||||
if (!setup_time()) {
|
if (!setup_time()) {
|
||||||
LogFile.WriteToFile(ESP_LOG_ERROR, TAG, "NTP Initialization failed!");
|
LogFile.WriteToFile(ESP_LOG_ERROR, TAG, "NTP Initialization failed!");
|
||||||
initSucessful = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
setBootTime();
|
setBootTime();
|
||||||
|
|||||||
Reference in New Issue
Block a user