aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/rtc_lld.c
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-09-01 17:44:44 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-09-01 17:44:44 +0000
commitca3cc2d5554a99aad1c499fabb9ce3d72fd7aacb (patch)
treeab6c7cc02e9f44f92ee2639a796b1e3c7cd344db /os/hal/platforms/STM32/rtc_lld.c
parent88f24294e2d23667667cf9c37bd6925550b1c714 (diff)
downloadChibiOS-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/platforms/STM32/rtc_lld.c')
-rw-r--r--os/hal/platforms/STM32/rtc_lld.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/os/hal/platforms/STM32/rtc_lld.c b/os/hal/platforms/STM32/rtc_lld.c
index 3f8468bae..ba89a3c9e 100644
--- a/os/hal/platforms/STM32/rtc_lld.c
+++ b/os/hal/platforms/STM32/rtc_lld.c
@@ -163,7 +163,6 @@ void rtc_lld_init(void){
* @param[in] rtcp pointer to a @p RTCDriver object
* @param[in] rtccfgp pointer to a @p RTCDriver config object
*/
-#if RTC_SUPPORTS_CALLBACKS
void rtc_lld_start(RTCDriver *rtcp, const RTCConfig *rtccfgp){
uint16_t isr_flags = 0;
@@ -192,7 +191,6 @@ void rtc_lld_stop(void){
NVICDisableVector(RTC_IRQn);
RTC->CRH = 0;
}
-#endif /* RTC_SUPPORTS_CALLBACKS */
/**