Code: Select all
Index: hal_lld_type1.h
===================================================================
--- hal_lld_type1.h (revision 12114)
+++ hal_lld_type1.h (working copy)
@@ -1282,7 +1282,7 @@
#error "HSI not enabled, required by STM32_I2SSRC"
#endif
-#if (STM32_PLLI2SSRC == STM32_PLLI2SSRC_PLLI2S) && \
+#if (STM32_PLLI2SSRC == STM32_PLLI2SSRC_PLLSRC) && \
(STM32_PLLSRC == STM32_PLLSRC_HSI)
#error "HSI not enabled, required by STM32_I2SSRC"
#endif
Index: hal_lld_type2.h
===================================================================
--- hal_lld_type2.h (revision 12114)
+++ hal_lld_type2.h (working copy)
@@ -727,7 +727,7 @@
#error "HSI not enabled, required by STM32_MCO2SEL"
#endif
-#if (STM32_PLLI2SSRC == STM32_PLLI2SSRC_PLLI2S) && \
+#if (STM32_PLLI2SSRC == STM32_PLLI2SSRC_PLLSRC) && \
(STM32_PLLSRC == STM32_PLLSRC_HSI)
#error "HSI not enabled, required by STM32_I2SSRC"
#endif