Fixed wrong compile time check.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6335 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
2aae1a50a3
commit
f58c72fe85
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue