mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
Fix errors in conditional compilation logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2516 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user