aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/rtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include/rtc.h')
-rw-r--r--os/hal/include/rtc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/os/hal/include/rtc.h b/os/hal/include/rtc.h
index 97ff07b49..d282c2adf 100644
--- a/os/hal/include/rtc.h
+++ b/os/hal/include/rtc.h
@@ -128,7 +128,8 @@ extern "C" {
void rtcSetCallback(RTCDriver *rtcp, rtccb_t callback);
#endif
void rtcConvertDateTimeToStructTm(const RTCDateTime *timespec,
- struct tm *timp);
+ struct tm *timp,
+ uint32_t *tv_msec);
void rtcConvertStructTmToDateTime(const struct tm *timp,
uint32_t tv_msec,
RTCDateTime *timespec);