aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-12-11 23:40:49 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-12-11 23:40:49 +0000
commit9d343de5f9f3620f8d915a2e6dadf874ef2d02cb (patch)
tree32df337929fe5f5fe90900250e09ac02d06599c3 /os/hal/include
parent91fd67be1f1c806a0e4414dd8e03d72d34d37007 (diff)
downloadChibiOS-9d343de5f9f3620f8d915a2e6dadf874ef2d02cb.tar.gz
ChibiOS-9d343de5f9f3620f8d915a2e6dadf874ef2d02cb.tar.bz2
ChibiOS-9d343de5f9f3620f8d915a2e6dadf874ef2d02cb.zip
RTC. Driver broken.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/rtc_dev@3598 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r--os/hal/include/rtc.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/os/hal/include/rtc.h b/os/hal/include/rtc.h
index 1264c5bd8..ddb495205 100644
--- a/os/hal/include/rtc.h
+++ b/os/hal/include/rtc.h
@@ -85,15 +85,18 @@ extern "C" {
void rtcInit(void);
void rtcSetTime(RTCDriver *rtcp, const RTCTime *timespec);
void rtcGetTime(RTCDriver *rtcp, RTCTime *timespec);
+
#if RTC_ALARMS > 0
void rtcSetAlarm(RTCDriver *rtcp,
rtcalarm_t alarm,
const RTCAlarm *alarmspec);
void rtcGetAlarm(RTCDriver *rtcp, rtcalarm_t alarm, RTCAlarm *alarmspec);
-#endif
+#endif /* RTC_ALARMS > 0 */
+
#if RTC_SUPPORTS_CALLBACKS
- void rtcSetCallback(RTCDriver *rtcp, rtccb_t callback);
-#endif
+ void rtcSetCallback(RTCDriver *rtcp, RTCCallbackConfig *cb_cfg);
+#endif /* RTC_SUPPORTS_CALLBACKS */
+
#ifdef __cplusplus
}
#endif