diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-09-07 12:53:27 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-09-07 12:53:27 +0000 |
commit | d0771593893ef9f8a9ae4ab689c569b88e3631a9 (patch) | |
tree | 8eaba6cc5552639a5f915193f7fee144da99b34b /os/hal/include | |
parent | b8ad6dbae6914316f731c99324ccb5052018dfbf (diff) | |
download | ChibiOS-d0771593893ef9f8a9ae4ab689c569b88e3631a9.tar.gz ChibiOS-d0771593893ef9f8a9ae4ab689c569b88e3631a9.tar.bz2 ChibiOS-d0771593893ef9f8a9ae4ab689c569b88e3631a9.zip |
RTC. rtcStart() and rtcStop() functions replaced by rtcSetCallback()
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3293 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r-- | os/hal/include/rtc.h | 7 |
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);
|