From e0c20340f0b9664d5e5d15c840db97fc119be757 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 3 Mar 2011 13:32:21 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2789 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/uart_lld.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'os/hal/platforms/STM32/uart_lld.h') diff --git a/os/hal/platforms/STM32/uart_lld.h b/os/hal/platforms/STM32/uart_lld.h index 589a274fa..f09fe7cd4 100644 --- a/os/hal/platforms/STM32/uart_lld.h +++ b/os/hal/platforms/STM32/uart_lld.h @@ -158,12 +158,8 @@ #error "USART3 not present in the selected device" #endif -#if STM32_UART_USE_UART4 && !STM32_HAS_UART4 -#error "UART4 not present in the selected device" -#endif - #if !STM32_UART_USE_USART1 && !STM32_UART_USE_USART2 && \ - !STM32_UART_USE_USART3 && !STM32_UART_USE_UART4 + !STM32_UART_USE_USART3 #error "UART driver activated but no USART/UART peripheral assigned" #endif -- cgit v1.2.3