diff options
Diffstat (limited to 'os/hal')
-rw-r--r-- | os/hal/ports/STM32/STM32F0xx/hal_lld.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/STM32F0xx/hal_lld.h b/os/hal/ports/STM32/STM32F0xx/hal_lld.h index 5f3c54b62..e3d3db5b3 100644 --- a/os/hal/ports/STM32/STM32F0xx/hal_lld.h +++ b/os/hal/ports/STM32/STM32F0xx/hal_lld.h @@ -610,6 +610,8 @@ #error "STM32_LSEDRV outside acceptable range ((0<<3)...(3<<3))"
#endif
+#else /* !STM32_LSE_ENABLED */
+
#if STM32_CECSW == STM32_CECSW_LSE
#error "LSE not enabled, required by STM32_CECSW"
#endif
@@ -618,8 +620,6 @@ #error "LSE not enabled, required by STM32_USART1SW"
#endif
-#else /* !STM32_LSE_ENABLED */
-
#if STM32_RTCSEL == STM32_RTCSEL_LSE
#error "LSE not enabled, required by STM32_RTCSEL"
#endif
|