Explorar el Código

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

Meco Man hace 2 años
padre
commit
4b3f14565d
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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