Skip to content

Commit

Permalink
include: date_time: Use correct function name in documentation
Browse files Browse the repository at this point in the history
`date_time_update` is now called `date_time_update_async`. Update docs
to reflect this.

Signed-off-by: Simen S. Røstad <[email protected]>
  • Loading branch information
simensrostad authored and carlescufi committed Jun 15, 2021
1 parent 461cacf commit 48195fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/date_time.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ See the API documentation for more information on these functions.
.. note::

The first date-time update cycle (after boot) does not occur until the time set by the :option:`CONFIG_DATE_TIME_UPDATE_INTERVAL_SECONDS` has elapsed.
It is recommended to call the :c:func:`date_time_update` function after the device has connected to LTE, to get the initial date-time information.
It is recommended to call the :c:func:`date_time_update_async` function after the device has connected to LTE, to get the initial date-time information.

Configuration
*************
Expand Down

0 comments on commit 48195fd

Please sign in to comment.