Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Arist
firmware
Commits
4afb15d0
Commit
4afb15d0
authored
Aug 22, 2019
by
Hinerk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add documentation and comments
parent
fc9321a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
Documentation/pycardium/utime.rst
Documentation/pycardium/utime.rst
+5
-0
epicardium/epicardium.h
epicardium/epicardium.h
+1
-1
No files found.
Documentation/pycardium/utime.rst
View file @
4afb15d0
...
...
@@ -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
...
...
epicardium/epicardium.h
View file @
4afb15d0
...
...
@@ -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
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment