diff options
Diffstat (limited to 'os/hal/platforms/STM32F4xx/hal_lld.h')
-rw-r--r-- | os/hal/platforms/STM32F4xx/hal_lld.h | 9 |
1 files changed, 1 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.
|