Преглед изворни кода

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

SummerGift пре 8 година
родитељ
комит
b466965e66
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      port/mphalport.h

+ 1 - 0
port/mphalport.h

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