소스 검색

[bsp][stm32/drv_common.c]修复在关闭UART设备框架时,编译报错

yangjie 5 년 전
부모
커밋
584cabe035
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      bsp/stm32/libraries/HAL_Drivers/drv_common.c

+ 1 - 0
bsp/stm32/libraries/HAL_Drivers/drv_common.c

@@ -9,6 +9,7 @@
  */
 
 #include "drv_common.h"
+#include "board.h"
 
 #ifdef RT_USING_SERIAL
 #include "drv_usart.h"