From 65dcd4d72ec5cb99205ec348a769d68293a49222 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 14 Jan 2013 19:54:54 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5069 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/ARMCM4-STM32F407-DISCOVERY/iar/ch.ewp | 12 ++++++++---- os/hal/src/rtc.c | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/demos/ARMCM4-STM32F407-DISCOVERY/iar/ch.ewp b/demos/ARMCM4-STM32F407-DISCOVERY/iar/ch.ewp index 5982bc909..55e090426 100644 --- a/demos/ARMCM4-STM32F407-DISCOVERY/iar/ch.ewp +++ b/demos/ARMCM4-STM32F407-DISCOVERY/iar/ch.ewp @@ -303,6 +303,8 @@ $PROJ_DIR$\..\..\..\os\hal\platforms\STM32 $PROJ_DIR$\..\..\..\os\hal\platforms\STM32\DMAv1 $PROJ_DIR$\..\..\..\os\hal\platforms\STM32\GPIOv2 + $PROJ_DIR$\..\..\..\os\hal\platforms\STM32\SPIv1 + $PROJ_DIR$\..\..\..\os\hal\platforms\STM32\USARTv1 $PROJ_DIR$\..\..\..\os\hal\platforms\STM32F4xx $PROJ_DIR$\..\..\..\os\various $PROJ_DIR$\..\..\..\os\various\devices_lib\accel @@ -1226,6 +1228,8 @@ $PROJ_DIR$\..\..\..\os\hal\platforms\STM32 $PROJ_DIR$\..\..\..\os\hal\platforms\STM32\DMAv1 $PROJ_DIR$\..\..\..\os\hal\platforms\STM32\GPIOv2 + $PROJ_DIR$\..\..\..\os\hal\platforms\STM32\SPIv1 + $PROJ_DIR$\..\..\..\os\hal\platforms\STM32\USARTv1 $PROJ_DIR$\..\..\..\os\hal\platforms\STM32F4xx $PROJ_DIR$\..\..\..\os\various $PROJ_DIR$\..\..\..\os\various\devices_lib\accel @@ -2137,16 +2141,16 @@ $PROJ_DIR$\..\..\..\os\hal\platforms\STM32\pwm_lld.h - $PROJ_DIR$\..\..\..\os\hal\platforms\STM32\serial_lld.c + $PROJ_DIR$\..\..\..\os\hal\platforms\STM32\USARTv1\serial_lld.c - $PROJ_DIR$\..\..\..\os\hal\platforms\STM32\serial_lld.h + $PROJ_DIR$\..\..\..\os\hal\platforms\STM32\USARTv1\serial_lld.h - $PROJ_DIR$\..\..\..\os\hal\platforms\STM32\spi_lld.c + $PROJ_DIR$\..\..\..\os\hal\platforms\STM32\SPIv1\spi_lld.c - $PROJ_DIR$\..\..\..\os\hal\platforms\STM32\spi_lld.h + $PROJ_DIR$\..\..\..\os\hal\platforms\STM32\SPIv1\spi_lld.h $PROJ_DIR$\..\..\..\os\hal\platforms\STM32F4xx\stm32_dma.c diff --git a/os/hal/src/rtc.c b/os/hal/src/rtc.c index daf4f4102..4d14140f3 100644 --- a/os/hal/src/rtc.c +++ b/os/hal/src/rtc.c @@ -175,7 +175,7 @@ void rtcSetCallback(RTCDriver *rtcp, rtccb_t callback) { * * @api */ -uint32_t rtcGetTimeFat(RTCDriver *rtcp) { +uint32_t rtcGetTimeFat(RTCDriver *rtcp) { chDbgCheck((rtcp != NULL), "rtcSetTime"); return rtc_lld_get_time_fat(rtcp); -- cgit v1.2.3