Commit 1e955caf authored by Marcel Stör's avatar Marcel Stör
Browse files

Fix link

parent fdc766be
...@@ -12,7 +12,7 @@ When compiled together with the [rtctime](rtctime.md) module it also offers seam ...@@ -12,7 +12,7 @@ When compiled together with the [rtctime](rtctime.md) module it also offers seam
Attempts to obtain time synchronization. Attempts to obtain time synchronization.
For best results you may want to to call this periodically in order to compensate for internal clock drift. As stated in the [rtctime](rtctime.md) module documentation it's advisable to sync time after deep sleep and it's necessary to sync after module reset (add it to [`init.lua`](upload.md#initlua) after WiFi initialization). For best results you may want to to call this periodically in order to compensate for internal clock drift. As stated in the [rtctime](rtctime.md) module documentation it's advisable to sync time after deep sleep and it's necessary to sync after module reset (add it to [`init.lua`](../upload.md#initlua) after WiFi initialization).
#### Syntax #### Syntax
`sntp.sync([server_ip], [callback], [errcallback])` `sntp.sync([server_ip], [callback], [errcallback])`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment