aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/RTCv1
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-04-17 18:09:27 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-04-17 18:09:27 +0000
commit72e66cd47c5f003b97b2c78edf86b900257c0e65 (patch)
treee9855a128f7ecdd0a5aae9170762e5c7efb2753f /os/hal/platforms/STM32/RTCv1
parentc53f70238122ce394eb45aa471feebc54515b9ca (diff)
parent469211b330aaa187de511a8e3963feac1db51053 (diff)
downloadChibiOS-72e66cd47c5f003b97b2c78edf86b900257c0e65.tar.gz
ChibiOS-72e66cd47c5f003b97b2c78edf86b900257c0e65.tar.bz2
ChibiOS-72e66cd47c5f003b97b2c78edf86b900257c0e65.zip
SDC. Merged code from development branch.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4106 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/RTCv1')
-rw-r--r--os/hal/platforms/STM32/RTCv1/rtc_lld.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/RTCv1/rtc_lld.c b/os/hal/platforms/STM32/RTCv1/rtc_lld.c
index 066e0f659..a417194b1 100644
--- a/os/hal/platforms/STM32/RTCv1/rtc_lld.c
+++ b/os/hal/platforms/STM32/RTCv1/rtc_lld.c
@@ -30,6 +30,8 @@
* @{
*/
+#include <time.h>
+
#include "ch.h"
#include "hal.h"
@@ -289,7 +291,6 @@ void rtc_lld_set_callback(RTCDriver *rtcp, rtccb_t callback) {
rtcp->callback = NULL;
}
}
-
#endif /* HAL_USE_RTC */
/** @} */