aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-09-21 11:59:21 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-09-21 11:59:21 +0000
commit563825490eda268b2f98d24b65e28b693792db97 (patch)
tree95476a88212fcc01e98acbcf72b8116f153584f4
parent88b43705d3d5d453331c216a54e390be787ba1f3 (diff)
downloadChibiOS-563825490eda268b2f98d24b65e28b693792db97.tar.gz
ChibiOS-563825490eda268b2f98d24b65e28b693792db97.tar.bz2
ChibiOS-563825490eda268b2f98d24b65e28b693792db97.zip
RTCv1. Fixed compilation issue in FAT timestap code.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4709 35acf78f-673a-0410-8e92-d51de3d6d3f4
-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 bc083ffbd..a8152dd9b 100644
--- a/os/hal/platforms/STM32/RTCv1/rtc_lld.c
+++ b/os/hal/platforms/STM32/RTCv1/rtc_lld.c
@@ -32,7 +32,6 @@
#include "ch.h"
#include "hal.h"
-#include "chrtclib.h"
#if HAL_USE_RTC || defined(__DOXYGEN__)
@@ -300,6 +299,8 @@ void rtc_lld_set_callback(RTCDriver *rtcp, rtccb_t callback) {
}
}
+#include "chrtclib.h"
+
/**
* @brief Get current time in format suitable for usage in FatFS.
*