From c6c56485d519d67db370ea1c3c247dc562e3d0d3 Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Mon, 26 Dec 2016 10:20:02 +0000 Subject: Fixed Bug #805 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9991 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/STM32F0xx/hal_lld.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os') 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 -- cgit v1.2.3