diff options
Diffstat (limited to 'os/hal/include/rtc.h')
-rw-r--r-- | os/hal/include/rtc.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/os/hal/include/rtc.h b/os/hal/include/rtc.h index 354640a11..1264c5bd8 100644 --- a/os/hal/include/rtc.h +++ b/os/hal/include/rtc.h @@ -85,20 +85,15 @@ extern "C" { void rtcInit(void);
void rtcSetTime(RTCDriver *rtcp, const RTCTime *timespec);
void rtcGetTime(RTCDriver *rtcp, RTCTime *timespec);
- void rtcSetWakeup(RTCDriver *rtcp, RTCWakeup *wakeupspec);
- void rtcGetWakeup(RTCDriver *rtcp, RTCWakeup *wakeupspec);
-
#if RTC_ALARMS > 0
void rtcSetAlarm(RTCDriver *rtcp,
rtcalarm_t alarm,
const RTCAlarm *alarmspec);
void rtcGetAlarm(RTCDriver *rtcp, rtcalarm_t alarm, RTCAlarm *alarmspec);
-#endif /* RTC_ALARMS > 0 */
-
+#endif
#if RTC_SUPPORTS_CALLBACKS
- void rtcSetCallback(RTCDriver *rtcp, RTCCallbackConfig *cb_cfg);
-#endif /* RTC_SUPPORTS_CALLBACKS */
-
+ void rtcSetCallback(RTCDriver *rtcp, rtccb_t callback);
+#endif
#ifdef __cplusplus
}
#endif
|