Просмотр исходного кода

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

SummerGift 8 лет назад
Родитель
Сommit
b466965e66
1 измененных файлов с 1 добавлено и 0 удалено
  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;