Explorar el Código

Update sntp.md (#1378)

Extra character in the doc
Harald Kubota hace 8 años
padre
commit
b580bfe79e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      docs/en/modules/sntp.md

+ 1 - 1
docs/en/modules/sntp.md

@@ -17,7 +17,7 @@ Attempts to obtain time synchronization.
 
 #### Parameters
 - `server_ip` if non-`nil`, that server is used. If `nil`, then the last contacted server is used. This ties in with the NTP anycast mode, where the first responding server is remembered for future synchronization requests. The easiest way to use anycast is to always pass nil for the server argument.
-- `callback` Iif provided it will be invoked on a successful synchronization, with three parameters: seconds, microseconds, and server. Note that when the [rtctime](rtctime.md) module is available, there is no need to explicitly call [`rtctime.set()`](rtctime.md#rtctimeset) - this module takes care of doing so internally automatically, for best accuracy.
+- `callback` if provided it will be invoked on a successful synchronization, with three parameters: seconds, microseconds, and server. Note that when the [rtctime](rtctime.md) module is available, there is no need to explicitly call [`rtctime.set()`](rtctime.md#rtctimeset) - this module takes care of doing so internally automatically, for best accuracy.
 - `errcallback` failure callback with a single integer parameter describing the type of error. The module automatically performs a number of retries before giving up and reporting the error. Error codes:
   - 1: DNS lookup failed
   - 2: Memory allocation failure