diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/platforms/STM32F2xx/hal_lld.h | 2 | ||||
-rw-r--r-- | os/hal/platforms/STM32F4xx/hal_lld.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/platforms/STM32F2xx/hal_lld.h b/os/hal/platforms/STM32F2xx/hal_lld.h index 317dd142f..528d4dec2 100644 --- a/os/hal/platforms/STM32F2xx/hal_lld.h +++ b/os/hal/platforms/STM32F2xx/hal_lld.h @@ -682,7 +682,7 @@ /**
* @brief RTC HSE prescaler value.
*/
-#if !defined(STM32_RTCSEL) || defined(__DOXYGEN__)
+#if !defined(STM32_RTCPRE_VALUE) || defined(__DOXYGEN__)
#define STM32_RTCPRE_VALUE 8
#endif
diff --git a/os/hal/platforms/STM32F4xx/hal_lld.h b/os/hal/platforms/STM32F4xx/hal_lld.h index 3edc87851..b43122936 100644 --- a/os/hal/platforms/STM32F4xx/hal_lld.h +++ b/os/hal/platforms/STM32F4xx/hal_lld.h @@ -692,7 +692,7 @@ /**
* @brief RTC HSE prescaler value.
*/
-#if !defined(STM32_RTCSEL) || defined(__DOXYGEN__)
+#if !defined(STM32_RTCPRE_VALUE) || defined(__DOXYGEN__)
#define STM32_RTCPRE_VALUE 8
#endif
|