فهرست منبع

[DeviceDrivers] Add pin.h in the rtdevice.h

Bernard Xiong 10 سال پیش
والد
کامیت
73d5acecba
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      components/drivers/include/rtdevice.h

+ 4 - 0
components/drivers/include/rtdevice.h

@@ -358,5 +358,9 @@ rt_inline void rt_work_init(struct rt_work* work, void (*work_func)(struct rt_wo
 #include "drivers/watchdog.h"
 #endif
 
+#ifdef RT_USING_PIN
+#include "drivers/pin.h"
+#endif
+
 #endif /* __RT_DEVICE_H__ */