Browse Source

fix: board_init判断反了

Wendal Chen 1 year ago
parent
commit
2ab4a81191
1 changed files with 1 additions and 1 deletions
  1. 1 1
      platform/arch/xt804/bsp/board_init.c

+ 1 - 1
platform/arch/xt804/bsp/board_init.c

@@ -97,7 +97,7 @@ static void uart1Init (int bandrate)
 #endif
 void board_init(void)
 {
-#ifdef LUAT_CONF_LOG_UART1
+#ifndef LUAT_CONF_LOG_UART1
     /* use uart0 as log output io */
     uart0Init(921600);
 #else