aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32F4xx/hal_lld_type1.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/STM32/STM32F4xx/hal_lld_type1.h')
-rw-r--r--os/hal/ports/STM32/STM32F4xx/hal_lld_type1.h2
1 files changed, 1 insertions, 1 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