Fixed wrong compile time check.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6335 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
gdisirio 2013-09-30 12:55:30 +00:00
parent 2aae1a50a3
commit f58c72fe85
1 changed files with 2 additions and 2 deletions

View File

@ -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