Selaa lähdekoodia

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

Meco Man 2 vuotta sitten
vanhempi
commit
4b3f14565d
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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