aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/hal/ports/STM32/STM32L4xx/hal_lld.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/ports/STM32/STM32L4xx/hal_lld.h b/os/hal/ports/STM32/STM32L4xx/hal_lld.h
index d18ed02e2..3722fd0ee 100644
--- a/os/hal/ports/STM32/STM32L4xx/hal_lld.h
+++ b/os/hal/ports/STM32/STM32L4xx/hal_lld.h
@@ -1033,8 +1033,8 @@
#error "HSI16 not enabled, required by STM32_SAI1SEL"
#endif
-#if ((STM32_SAI2SEL == STM32_SAI1SEL_PLLSAI1) || \
- (STM32_SAI2SEL == STM32_SAI1SEL_PLLSAI2)) && \
+#if ((STM32_SAI2SEL == STM32_SAI2SEL_PLLSAI1) || \
+ (STM32_SAI2SEL == STM32_SAI2SEL_PLLSAI2)) && \
(STM32_PLLSRC == STM32_PLLSRC_HSI16)
#error "HSI16 not enabled, required by STM32_SAI2SEL"
#endif
@@ -1095,8 +1095,8 @@
#error "HSE not enabled, required by STM32_SAI1SEL"
#endif
- #if ((STM32_SAI2SEL == STM32_SAI1SEL_PLLSAI1) | \
- (STM32_SAI2SEL == STM32_SAI1SEL_PLLSAI2)) && \
+ #if ((STM32_SAI2SEL == STM32_SAI2SEL_PLLSAI1) | \
+ (STM32_SAI2SEL == STM32_SAI2SEL_PLLSAI2)) && \
(STM32_PLLSRC == STM32_PLLSRC_HSE)
#error "HSE not enabled, required by STM32_SAI2SEL"
#endif