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.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/os/hal/include/rtc.h b/os/hal/include/rtc.h
index 0c545c3a6..e0a2c50c5 100644
--- a/os/hal/include/rtc.h
+++ b/os/hal/include/rtc.h
@@ -70,11 +70,8 @@ extern "C" {
void rtcInit(void);
#if RTC_SUPPORTS_CALLBACKS
- void rtcStart(RTCDriver *rtcp, const RTCConfig *rtccfgp);
- void rtcStop(void);
- #else /* RTC_SUPPORTS_CALLBACKS */
- #define rtcStart(rtcp, rtccfgp)
- #define rtcStop()
+ void rtcSetCallback(RTCDriver *rtcp, rtccb_t overflowcb,
+ rtccb_t secondcb, rtccb_t alarmcb);
#endif /* RTC_SUPPORTS_CALLBACKS */
void rtcSetTime(uint32_t tv_sec);