diff options
Diffstat (limited to 'os/hal/platforms/STM32/rtc_lld.h')
-rw-r--r-- | os/hal/platforms/STM32/rtc_lld.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/os/hal/platforms/STM32/rtc_lld.h b/os/hal/platforms/STM32/rtc_lld.h index 7d7d703f0..d73d35091 100644 --- a/os/hal/platforms/STM32/rtc_lld.h +++ b/os/hal/platforms/STM32/rtc_lld.h @@ -100,8 +100,7 @@ extern "C" { void rtc_lld_set_callback(RTCDriver *rtcp, rtccb_t overflow_cb,
rtccb_t second_cb, rtccb_t alarm_cb);
void rtc_lld_set_time(uint32_t tv_sec);
- uint32_t rtc_lld_get_sec(void);
- uint16_t rtc_lld_get_msec(void);
+ uint32_t rtc_lld_get_time(uint16_t *msec);
uint32_t rtc_lld_get_alarm(void);
void rtc_lld_set_alarm(uint32_t);
#ifdef __cplusplus
|