diff options
| author | Meco Man <[email protected]> | 2023-06-26 20:22:16 -0400 |
|---|---|---|
| committer | Man, Jianting (Meco) <[email protected]> | 2023-06-26 22:42:30 -0400 |
| commit | 4b3f14565d1ebc3e5a3c3c543eacf46debe8130b (patch) | |
| tree | efb8350e32768bdff8ba79e31f99e45000552839 | |
| parent | 0750b71e277cbcd6336c15ce0040d143bf2affc9 (diff) | |
[ch32][risc-v][drv] fix rt_hw_us_delay compile error
| -rw-r--r-- | bsp/wch/risc-v/Libraries/ch32_drivers/drv_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bsp/wch/risc-v/Libraries/ch32_drivers/drv_common.c b/bsp/wch/risc-v/Libraries/ch32_drivers/drv_common.c index 71dfeab96e..1d735ede1c 100644 --- a/bsp/wch/risc-v/Libraries/ch32_drivers/drv_common.c +++ b/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 |
