瀏覽代碼

fix: board_init判断反了

Wendal Chen 2 年之前
父節點
當前提交
2ab4a81191
共有 1 個文件被更改,包括 1 次插入1 次删除
  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