aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-06-04 14:45:12 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-06-04 14:45:12 +0000
commit0ac96b000b014bed358f7278ae7d6e7d3acce4f7 (patch)
treec8cbda98c6f44e1fd265a4008435d169a016b5f5
parent5abd9f74a656f3fb09a9eeb6ab0106a8516661ca (diff)
downloadChibiOS-0ac96b000b014bed358f7278ae7d6e7d3acce4f7.tar.gz
ChibiOS-0ac96b000b014bed358f7278ae7d6e7d3acce4f7.tar.bz2
ChibiOS-0ac96b000b014bed358f7278ae7d6e7d3acce4f7.zip
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
-rw-r--r--os/hal/ports/STM32/STM32F4xx/hal_lld.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/os/hal/ports/STM32/STM32F4xx/hal_lld.h b/os/hal/ports/STM32/STM32F4xx/hal_lld.h
index 925dda77a..57445ed73 100644
--- a/os/hal/ports/STM32/STM32F4xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32F4xx/hal_lld.h
@@ -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