瀏覽代碼

fix: 云编译启用LUAT_CONF_LOG_UART1后编译失败

Wendal Chen 2 年之前
父節點
當前提交
985f026cbb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      platform/arch/xt804/bsp/board_init.c

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

@@ -53,7 +53,7 @@ static void uart0Init (int bandrate)
 
 #include "luat_conf_bsp.h"
 
-#ifndef LUAT_CONF_LOG_UART1
+#ifdef LUAT_CONF_LOG_UART1
 static void uart1_io_init(void)
 {
     uint32_t temp;