From dadac256c45b2f9c565992e482a62ba1f27207be Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 1 Jun 2013 07:44:18 +0000 Subject: [PATCH] Fixed bug #413. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5776 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F4xx/hal_lld.h | 9 +-------- readme.txt | 1 + 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/os/hal/platforms/STM32F4xx/hal_lld.h b/os/hal/platforms/STM32F4xx/hal_lld.h index 5774ec70c..0a7291420 100644 --- a/os/hal/platforms/STM32F4xx/hal_lld.h +++ b/os/hal/platforms/STM32F4xx/hal_lld.h @@ -1327,14 +1327,7 @@ /** * @brief PLLI2S output clock frequency. */ -#define STM32_PLLI2SCLKOUT (STM32_PLLI2SVCO / STM32_PLLI2SR) - -/* - * PLLI2S output frequency range check. - */ -#if STM32_PLLI2SCLKOUT > STM32_SPII2S_MAX -#error "STM32_PLLI2SCLKOUT outside acceptable range (STM32_SPII2S_MAX)" -#endif +#define STM32_PLLI2SCLKOUT (STM32_PLLI2SVCO / STM32_PLLI2SR_VALUE) /** * @brief MCO1 divider clock. diff --git a/readme.txt b/readme.txt index 7eb416b5e..c641c4b11 100644 --- a/readme.txt +++ b/readme.txt @@ -89,6 +89,7 @@ ***************************************************************************** *** 2.5.2 *** +- FIX: Fixed STM32_PLLI2SCLKOUT miscalculated (bug #413)(backported to 2.4.4). - FIX: Fixed wrong RTC vector name in STM32F1/F4/L1 EXT drivers (bug #412). - FIX: Fixed wrong STM32 USBv1 driver behavior (bug #410). - FIX: Fixed STM32 wrong peripherals reset procedure (bug #409)(backported