소스 검색

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