diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-03-03 13:32:21 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-03-03 13:32:21 +0000 |
commit | e0c20340f0b9664d5e5d15c840db97fc119be757 (patch) | |
tree | 50d051efaf2ff982b7653be6fff53907101ee311 /os | |
parent | f95fc666de8186937f7101c74386af0c85968ec3 (diff) | |
download | ChibiOS-e0c20340f0b9664d5e5d15c840db97fc119be757.tar.gz ChibiOS-e0c20340f0b9664d5e5d15c840db97fc119be757.tar.bz2 ChibiOS-e0c20340f0b9664d5e5d15c840db97fc119be757.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2789 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/platforms/STM32/uart_lld.h | 6 |
1 files changed, 1 insertions, 5 deletions
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
|