diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-09-01 17:44:44 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-09-01 17:44:44 +0000 |
commit | ca3cc2d5554a99aad1c499fabb9ce3d72fd7aacb (patch) | |
tree | ab6c7cc02e9f44f92ee2639a796b1e3c7cd344db /os/hal/include/rtc.h | |
parent | 88f24294e2d23667667cf9c37bd6925550b1c714 (diff) | |
download | ChibiOS-ca3cc2d5554a99aad1c499fabb9ce3d72fd7aacb.tar.gz ChibiOS-ca3cc2d5554a99aad1c499fabb9ce3d72fd7aacb.tar.bz2 ChibiOS-ca3cc2d5554a99aad1c499fabb9ce3d72fd7aacb.zip |
RTC. Readability improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/rtc_dev@3278 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include/rtc.h')
-rw-r--r-- | os/hal/include/rtc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/include/rtc.h b/os/hal/include/rtc.h index ad66fcd8b..0c545c3a6 100644 --- a/os/hal/include/rtc.h +++ b/os/hal/include/rtc.h @@ -73,8 +73,8 @@ extern "C" { void rtcStart(RTCDriver *rtcp, const RTCConfig *rtccfgp);
void rtcStop(void);
#else /* RTC_SUPPORTS_CALLBACKS */
- #define rtcStart(rtcp, rtccfgp){;}
- #define rtcStop(){;}
+ #define rtcStart(rtcp, rtccfgp)
+ #define rtcStop()
#endif /* RTC_SUPPORTS_CALLBACKS */
void rtcSetTime(uint32_t tv_sec);
|