-
Notifications
You must be signed in to change notification settings - Fork 178
RTC and time API pages updated #344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Make minor copy edits.
Fix capitalization and link.
Update content for active voice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@deepikabhavnani Please review my changes, and make sure I didn't accidentally change the meaning.
@AnotherButler - Changes look fine, I have corrected one doxy link |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good but have a questions about one of the statements
docs/reference/api/platform/Time.md
Outdated
### Time hello, world | ||
You can convert time to a human-readable format using `ctime`, `localtime`, `strftime` and other C standard functions. | ||
|
||
You cannot use `mktime` and `localtime` C standard library functions in an interrupt handler with the GCC toolchain. We have added dedicated routines for `mktime` and `localtime`, which are optimized and faster then C standard library functions, to overcome this issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dont understand this sentence. Did we add new functions with the same name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No we added same functions as _rtc_mktime
, _rtc_localtime
. Will update the doc with new name
Updated RTC and Time API document.
@AnotherButler - Changes are valid for mbed-os 5.6 as well, shall I create one more PR for that?
@sg- Please review