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:
parent
e170551355
commit
c92636b4d6
@ -64,14 +64,12 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Definitions
|
* Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* Some sanity checks *******************************************************/
|
/* Some sanity checks *******************************************************/
|
||||||
|
|
||||||
/* Is there a USART enabled? */
|
/* Is there a USART enabled? */
|
||||||
|
|
||||||
#if defined(CONFIG_STM32_USART1) && defined(CONFIG_STM32_USART2) && \
|
#if defined(CONFIG_STM32_USART1) || defined(CONFIG_STM32_USART2) || \
|
||||||
defined(CONFIG_STM32_USART3) && defined(CONFIG_STM32_UART4) && \
|
defined(CONFIG_STM32_USART3) || defined(CONFIG_STM32_UART4) || \
|
||||||
defined(CONFIG_STM32_UART5) && defined(CONFIG_STM32_USART6)
|
defined(CONFIG_STM32_UART5) || defined(CONFIG_STM32_USART6)
|
||||||
# define HAVE_UART 1
|
# define HAVE_UART 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user