mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 14:13:33 +08:00
Fix compile error introduced by recent check-in
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4369 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user