Browse Source

[ch32][risc-v][drv] fix rt_hw_us_delay compile error

Meco Man 2 năm trước cách đây
mục cha
commit
4b3f14565d
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      bsp/wch/risc-v/Libraries/ch32_drivers/drv_common.c

+ 1 - 0
bsp/wch/risc-v/Libraries/ch32_drivers/drv_common.c

@@ -10,6 +10,7 @@
 
 #include <rtthread.h>
 #include "drv_common.h"
+#include <board.h> /* for rt_hw_us_delay */
 
 #define DBG_TAG    "drv.common"
 #define DBG_LVL    DBG_INFO