Skip to content
Snippets Groups Projects
Commit 4afb15d0 authored by Hinerk's avatar Hinerk
Browse files

add documentation and comments

parent fc9321a4
Branches
Tags
No related merge requests found
......@@ -28,6 +28,11 @@ alarm.
Return the current timestamp in seconds since 2000-01-01 00:00 in
the local timezone.
.. py:function:: time_ms()
Return the current timestamp in milliseconds since 2000-01-01 00:00 in
the local timezone.
.. py:function:: set_time(secs)
Sets the time to ``secs`` seconds since 2000-01-01 00:00 in the local
......
......@@ -1567,7 +1567,7 @@ API(API_FILE_MKDIR, int epic_file_mkdir(const char *dirname));
API(API_RTC_GET_SECONDS, uint32_t epic_rtc_get_seconds(void));
/**
* Read the current RTC value.
* Read the current RTC value in ms.
*
* :return: Unix time in milliseconds
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment