• R/O
  • SSH
  • HTTPS

chibios: Commit


Commit MetaInfo

Revision14769 (tree)
Time2021-09-14 18:43:46
Authortridge

Log Message

STM32: fixed F4 check when I2S disabled

Change Summary

Incremental Difference

--- trunk/os/hal/ports/STM32/STM32F4xx/hal_lld_type1.h (revision 14768)
+++ trunk/os/hal/ports/STM32/STM32F4xx/hal_lld_type1.h (revision 14769)
@@ -1854,11 +1854,14 @@
18541854 /*
18551855 * PLLI2S VCO frequency range check.
18561856 */
1857+#if HAL_USE_I2S == TRUE
18571858 #if (STM32_PLLI2SVCO < STM32_PLLVCO_MIN) || \
18581859 (STM32_PLLI2SVCO > STM32_PLLVCO_MAX)
18591860 #error "STM32_PLLI2SVCO outside acceptable range (STM32_PLLVCO_MIN...STM32_PLLVCO_MAX)"
18601861 #endif
1862+#endif
18611863
1864+
18621865 /**
18631866 * @brief PLLI2S P output clock frequency.
18641867 */
Show on old repository browser