From 79410411fcc1fa20b4f3a506455399dc7bfe4987 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 2 Feb 2013 10:18:46 +0000 Subject: [PATCH] Fixed bug 3602544. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5098 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F4xx/hal_lld.h | 10 ---------- readme.txt | 1 + 2 files changed, 1 insertion(+), 10 deletions(-) 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).