From 968d0cf6e9e8f362021e4288cd3336fe7922e00e Mon Sep 17 00:00:00 2001 From: barthess Date: Fri, 16 Dec 2011 14:42:23 +0000 Subject: RTC. High level API rolled back. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3619 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/include/rtc.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'os/hal/include') 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 -- cgit v1.2.3