Browse Source

Merge pull request #4 from SummerGGift/2018326

【添加】:添加缺少的头文件以解决编译出错的问题。
朱天龙 (Armink) 8 years ago
parent
commit
9d8ec5b80d
1 changed files with 1 additions and 0 deletions
  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;