Przeglądaj źródła

1、【添加】:添加缺少的头文件以解决编译出错的问题。

SummerGift 8 lat temu
rodzic
commit
b466965e66
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      port/mphalport.h

+ 1 - 0
port/mphalport.h

@@ -25,6 +25,7 @@
  */
 
 #include <rtthread.h>
+#include <drivers/pin.h>
 
 static inline mp_uint_t mp_hal_ticks_us(void) {
     return rt_tick_get() * 1000;