From 65e3013e8c6da7332d16ec8f24541eaf9f9bbc6c Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 1 Jun 2014 09:51:45 +0000 Subject: [PATCH] Fixed bug #509. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6975 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/STM32L1xx/stm32_registry.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/os/hal/ports/STM32/STM32L1xx/stm32_registry.h b/os/hal/ports/STM32/STM32L1xx/stm32_registry.h index 7bff1e574..6b5c43fad 100644 --- a/os/hal/ports/STM32/STM32L1xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32L1xx/stm32_registry.h @@ -85,7 +85,11 @@ /* RTC attributes.*/ #define STM32_HAS_RTC TRUE +#if defined(STM32L1XX_MDP) +#define STM32_RTC_HAS_SUBSECONDS TRUE +#else #define STM32_RTC_HAS_SUBSECONDS FALSE +#endif #define STM32_RTC_IS_CALENDAR TRUE /* SDIO attributes.*/