Skip to content

Commit b2759bb

Browse files
author
gemi254
committed
Updated
1 parent 4e677f7 commit b2759bb

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -281,13 +281,17 @@ Variables ending with **CA_NTPSYNC_KEY** for example **ntp_server1**, **ntp_ser
281281
will be used as ntp servers.
282282
The current timezone for the device will be set automatically using **CA_TIMEZONE_KEY** for example **time_zone**
283283

284-
Just define **ntp_server1**, **ntp_server2**, **ntp_server3** and **time_zone** settings in your config all call **syncTime** with timeout ms to wait until time is synchronized.
284+
Just define **ntp_server1**, **ntp_server2**, **ntp_server3** and **time_zone** settings in your config and call **syncTime** with timeout ms to wait until time is synchronized.
285285
```
286-
{
287-
"name": "ntp_server1",
288-
"label": "Time server to sync time1",
289-
"default": "pool.ntp.org"
290-
}
286+
- ntp_server1:
287+
label: Time server to sync time1
288+
default: "europe.pool.ntp.org"
289+
- ntp_server2:
290+
label: Time server to sync time2
291+
default: "time.windows.com"
292+
- ntp_server3:
293+
label: Time server to sync time3
294+
default: "pool.ntp.org"
291295
292296
// Setup time synchronization
293297
// Wait max 10 sec

0 commit comments

Comments
 (0)