git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6791 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2014-03-19 10:19:48 +00:00
parent d8208d1c37
commit 7e778da6b0
2 changed files with 8 additions and 0 deletions

View File

@ -33,6 +33,8 @@
#include "chrtclib.h" #include "chrtclib.h"
#if HAL_USE_RTC || defined(__DOXYGEN__)
#if (defined(STM32F4XX) || defined(STM32F2XX) || defined(STM32L1XX) || \ #if (defined(STM32F4XX) || defined(STM32F2XX) || defined(STM32L1XX) || \
defined(STM32F30X) || defined(STM32F37X) || \ defined(STM32F30X) || defined(STM32F37X) || \
defined(STM32F1XX) || defined(STM32F10X_MD) || defined(STM32F10X_LD) || \ defined(STM32F1XX) || defined(STM32F10X_MD) || defined(STM32F10X_LD) || \
@ -440,4 +442,6 @@ uint32_t rtcGetTimeFatFromCounter(RTCDriver *rtcp) {
#endif /* STM32_RTC_IS_CALENDAR || LPC17xx_RTC_IS_CALENDAR */ #endif /* STM32_RTC_IS_CALENDAR || LPC17xx_RTC_IS_CALENDAR */
#endif /* (defined(STM32F4XX) || defined(STM32F2XX) || defined(STM32L1XX) || defined(STM32F1XX)) */ #endif /* (defined(STM32F4XX) || defined(STM32F2XX) || defined(STM32L1XX) || defined(STM32F1XX)) */
#endif /* HAL_USE_RTC */
/** @} */ /** @} */

View File

@ -31,6 +31,8 @@
#include <time.h> #include <time.h>
#if HAL_USE_RTC || defined(__DOXYGEN__)
/*===========================================================================*/ /*===========================================================================*/
/* External declarations. */ /* External declarations. */
/*===========================================================================*/ /*===========================================================================*/
@ -50,6 +52,8 @@ extern "C" {
} }
#endif #endif
#endif /* HAL_USE_RTC */
#endif /* CHRTCLIB_H_ */ #endif /* CHRTCLIB_H_ */
/** @} */ /** @} */