diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/ports/STM32/STM32L1xx/stm32_registry.h | 4 |
1 files changed, 4 insertions, 0 deletions
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.*/
|