mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
Используем ntp из settings.json
Теперь ntp из settings.json используется
This commit is contained in:
@@ -44,7 +44,7 @@ void ntpInit() {
|
||||
}
|
||||
|
||||
void synchTime() {
|
||||
configTime(0, 0, "pool.ntp.org", "ru.pool.ntp.org", "pool.ntp.org");
|
||||
configTime(0, 0, "pool.ntp.org", "ru.pool.ntp.org", jsonReadStr(settingsFlashJson, F("ntp")).c_str());
|
||||
}
|
||||
|
||||
//событие смены даты
|
||||
|
||||
Reference in New Issue
Block a user