From dc364e27b84cc091ec38941bda2ffa77a12ec903 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 30 Sep 2013 12:59:32 +0000 Subject: again... git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6336 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/USARTv1/uart_lld.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os') diff --git a/os/hal/platforms/STM32/USARTv1/uart_lld.h b/os/hal/platforms/STM32/USARTv1/uart_lld.h index 7df68d3c7..021e0bc37 100644 --- a/os/hal/platforms/STM32/USARTv1/uart_lld.h +++ b/os/hal/platforms/STM32/USARTv1/uart_lld.h @@ -339,7 +339,7 @@ #error "UART4 not present in the selected device" #endif - #if !defined(STM32F2XX) || !defined(STM32F4XX) + #if !defined(STM32F2XX) && !defined(STM32F4XX) #error "UART4 DMA access not supported in this platform" #endif #endif @@ -349,7 +349,7 @@ #error "UART5 not present in the selected device" #endif - #if !defined(STM32F2XX) || !defined(STM32F4XX) + #if !defined(STM32F2XX) && !defined(STM32F4XX) #error "UART5 DMA access not supported in this platform" #endif #endif -- cgit v1.2.3