aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-09-30 12:55:30 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-09-30 12:55:30 +0000
commitf58c72fe8597f40c0410e5f005c36942d532f081 (patch)
treee22748d87029906e31b5703a7da4bef1701349d7
parent2aae1a50a3da979fe58e703a902d48aa7efb1fea (diff)
downloadChibiOS-f58c72fe8597f40c0410e5f005c36942d532f081.tar.gz
ChibiOS-f58c72fe8597f40c0410e5f005c36942d532f081.tar.bz2
ChibiOS-f58c72fe8597f40c0410e5f005c36942d532f081.zip
Fixed wrong compile time check.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6335 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/platforms/STM32/USARTv1/uart_lld.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/platforms/STM32/USARTv1/uart_lld.h b/os/hal/platforms/STM32/USARTv1/uart_lld.h
index ba8f00f1e..7df68d3c7 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(STM32F4XX) || !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(STM32F4XX) || !defined(STM32F4XX)
+ #if !defined(STM32F2XX) || !defined(STM32F4XX)
#error "UART5 DMA access not supported in this platform"
#endif
#endif