diff --git a/os/hal/platforms/STM32F4xx/hal_lld.h b/os/hal/platforms/STM32F4xx/hal_lld.h index 3723f6e61..09eaafd82 100644 --- a/os/hal/platforms/STM32F4xx/hal_lld.h +++ b/os/hal/platforms/STM32F4xx/hal_lld.h @@ -1437,16 +1437,6 @@ #error "invalid STM32_RTCSEL value specified" #endif -/** - * @brief RTC HSE divider setting. - */ -#if ((STM32_RTCPRE_VALUE >= 2) && (STM32_RTCPRE_VALUE <= 31)) || \ - defined(__DOXYGEN__) -#define STM32_RTCPRE (STM32_RTCPRE_VALUE << 16) -#else -#error "invalid STM32_RTCPRE value specified" -#endif - /** * @brief 48MHz frequency. */ diff --git a/readme.txt b/readme.txt index c1c5b57bf..fc5e8d493 100644 --- a/readme.txt +++ b/readme.txt @@ -82,6 +82,7 @@ ***************************************************************************** *** 2.5.2 *** +- FIX: Fixed duplicated code in hal_lld.h (STM32F4xx) (bug 3602544). - FIX: Fixed #define typo in usb_lld.h (OTGv1) (bug 3602306). - FIX: Fixed STM32F0 RCC enable/disable/reset functions for CRC and WWDG (bug 3602150).