From 563825490eda268b2f98d24b65e28b693792db97 Mon Sep 17 00:00:00 2001 From: barthess Date: Fri, 21 Sep 2012 11:59:21 +0000 Subject: 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 --- os/hal/platforms/STM32/RTCv1/rtc_lld.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'os/hal') 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. * -- cgit v1.2.3