From dadac256c45b2f9c565992e482a62ba1f27207be Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 1 Jun 2013 07:44:18 +0000 Subject: 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 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'os/hal') 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. -- cgit v1.2.3