From dd834361e8d805cf5ecf89bcdc15b08f60268e76 Mon Sep 17 00:00:00 2001 From: barthess Date: Mon, 12 Dec 2011 13:13:07 +0000 Subject: RTCv1 code cleanups and adding some safety checks. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3603 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/src/rtc.c | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'os/hal/src/rtc.c') diff --git a/os/hal/src/rtc.c b/os/hal/src/rtc.c index 52e35fd22..37ab87c00 100644 --- a/os/hal/src/rtc.c +++ b/os/hal/src/rtc.c @@ -134,26 +134,6 @@ void rtcGetAlarm(RTCDriver *rtcp, } #endif /* RTC_ALARMS > 0 */ -/** - * @brief Sets periodic wakeup period. - */ -void rtcSetPeriodicWakeup(RTCDriver *rtcp, RTCWakeup *wakeupspec) { - chDbgCheck((rtcp != NULL) && (wakeupspec != NULL), "rtcSetPeriodicWakeup"); - rtc_lld_set_periodic_wakeup(rtcp, wakeupspec); -} -/** - * @brief Gets periodic wakeup period. - */ -void rtcGetPeriodicWakeup(RTCDriver *rtcp, RTCWakeup *wakeupspec) { - chDbgCheck((rtcp != NULL) && (wakeupspec != NULL), "rtcGetPeriodicWakeup"); - rtc_lld_get_periodic_wakeup(rtcp, wakeupspec); -} - - - - - - #if RTC_SUPPORTS_CALLBACKS || defined(__DOXYGEN__) /** -- cgit v1.2.3