Fix errors in conditional compilation logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@2516 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
parent
a7bd1a68cf
commit
59cf8a3cf3
|
@ -111,7 +111,7 @@
|
|||
# ifdef CONFIG_STM32_USART3
|
||||
# define TTYS2_DEV g_usart3port /* USART3 is ttyS2 */
|
||||
# else
|
||||
# undef TTYS1_DEV /* No ttyS2 */
|
||||
# undef TTYS2_DEV /* No ttyS2 */
|
||||
# endif
|
||||
# else
|
||||
# ifdef CONFIG_STM32_USART3
|
||||
|
@ -129,7 +129,7 @@
|
|||
# ifdef CONFIG_STM32_USART3
|
||||
# define TTYS2_DEV g_usart3port /* USART3 is ttyS2 */
|
||||
# else
|
||||
# undef TTYS1_DEV /* No ttyS2 */
|
||||
# undef TTYS2_DEV /* No ttyS2 */
|
||||
# endif
|
||||
# else
|
||||
# ifdef CONFIG_STM32_USART3
|
||||
|
@ -147,7 +147,7 @@
|
|||
# ifdef CONFIG_STM32_USART2
|
||||
# define TTYS2_DEV g_usart2port /* USART2 is ttyS2 */
|
||||
# else
|
||||
# undef TTYS1_DEV /* No ttyS2 */
|
||||
# undef TTYS2_DEV /* No ttyS2 */
|
||||
# endif
|
||||
# else
|
||||
# ifdef CONFIG_STM32_USART2
|
||||
|
|
Loading…
Reference in New Issue