diff options
-rw-r--r-- | os/hal/ports/STM32/STM32F4xx/hal_lld_type1.h | 2 | ||||
-rw-r--r-- | os/hal/ports/STM32/STM32F4xx/hal_lld_type2.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/STM32F4xx/hal_lld_type1.h b/os/hal/ports/STM32/STM32F4xx/hal_lld_type1.h index 16eff7b60..87d60a8ed 100644 --- a/os/hal/ports/STM32/STM32F4xx/hal_lld_type1.h +++ b/os/hal/ports/STM32/STM32F4xx/hal_lld_type1.h @@ -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
diff --git a/os/hal/ports/STM32/STM32F4xx/hal_lld_type2.h b/os/hal/ports/STM32/STM32F4xx/hal_lld_type2.h index a2831dc74..3dee3dee2 100644 --- a/os/hal/ports/STM32/STM32F4xx/hal_lld_type2.h +++ b/os/hal/ports/STM32/STM32F4xx/hal_lld_type2.h @@ -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
|