Fix compile error introduced by recent check-in

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4369 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2012-02-04 22:01:50 +00:00
parent e170551355
commit c92636b4d6

View File

@ -64,14 +64,12 @@
/****************************************************************************
* Definitions
****************************************************************************/
/* Some sanity checks *******************************************************/
/* Is there a USART enabled? */
#if defined(CONFIG_STM32_USART1) && defined(CONFIG_STM32_USART2) && \
defined(CONFIG_STM32_USART3) && defined(CONFIG_STM32_UART4) && \
defined(CONFIG_STM32_UART5) && defined(CONFIG_STM32_USART6)
#if defined(CONFIG_STM32_USART1) || defined(CONFIG_STM32_USART2) || \
defined(CONFIG_STM32_USART3) || defined(CONFIG_STM32_UART4) || \
defined(CONFIG_STM32_UART5) || defined(CONFIG_STM32_USART6)
# define HAVE_UART 1
#endif