mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-30 11:59:12 +03:00
Используем ntp из settings.json
Теперь ntp из settings.json используется
This commit is contained in:
@@ -44,7 +44,7 @@ void ntpInit() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void synchTime() {
|
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