Removed wrong checks in STN32F4xx/hal_lld.h

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9571 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Rocco Marco Guglielmi 2016-06-04 14:45:12 +00:00
parent 5abd9f74a6
commit 0ac96b000b
1 changed files with 0 additions and 6 deletions

View File

@ -1916,14 +1916,8 @@
#if STM32_CLOCK48_REQUIRED || defined(__DOXYGEN__)
#if (STM32_CK48MSEL == STM32_CK48MSEL_PLL) || defined(__DOXYGEN__)
#define STM32_PLL48CLK (STM32_PLLVCO / STM32_PLLQ_VALUE)
#if (STM32_PLL48CLK != 48000000)
#error "STM32_PLL48CLK wrong value"
#endif
#elif STM32_CK48MSEL == STM32_CK48MSEL_PLLSAI
#define STM32_PLL48CLK (STM32_PLLSAIVCO / STM32_PLLSAIQ_VALUE)
#if (STM32_PLL48CLK != 48000000)
#error "STM32_PLL48CLK wrong value"
#endif
#else
#error "invalid source selected for PLL48CLK clock"
#endif