Copy edit mbed_rtc_time.h

Copy edit existing text for U.S. spelling and consistent capitalization.
pull/8416/head
Amanda Butler 2018-10-12 14:50:52 -05:00 committed by GitHub
parent a9dbd728f6
commit 00186e6f14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ extern "C" {
/** Set the current time
*
* Initialises and sets the time of the microcontroller Real-Time Clock (RTC)
* Initializes and sets the time of the microcontroller Real-Time Clock (RTC)
* to the time represented by the number of seconds since January 1, 1970
* (the UNIX timestamp).
*
@ -85,7 +85,7 @@ void set_time(time_t t);
* @param read_rtc pointer to function which returns current UNIX timestamp
* @param write_rtc pointer to function which sets current UNIX timestamp, can be NULL
* @param init_rtc pointer to funtion which initializes RTC, can be NULL
* @param isenabled_rtc pointer to function which returns if the rtc is enabled, can be NULL
* @param isenabled_rtc pointer to function which returns if the RTC is enabled, can be NULL
*/
void attach_rtc(time_t (*read_rtc)(void), void (*write_rtc)(time_t), void (*init_rtc)(void), int (*isenabled_rtc)(void));