diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-07-01 09:27:51 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-07-01 09:27:51 +0000 |
commit | 3a109194972f3671092d4e0767fc2f3c63a5a363 (patch) | |
tree | f5246121ebab9872afa054c93fff885d8caf3b5d /os/hal/ports | |
parent | ca1927e0088226908f382cb6f33edd1b32686e70 (diff) | |
download | ChibiOS-3a109194972f3671092d4e0767fc2f3c63a5a363.tar.gz ChibiOS-3a109194972f3671092d4e0767fc2f3c63a5a363.tar.bz2 ChibiOS-3a109194972f3671092d4e0767fc2f3c63a5a363.zip |
Fixed issue in F4 HAL clock tree checks.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12128 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/ports')
-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
|