summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-01-20 07:24:49 +0000
committerBernard Xiong <[email protected]>2015-01-20 07:24:49 +0000
commit73d5acecba80316e717f8ecdc43526575dcfbe0c (patch)
tree7f1b0d3dd6138411b315cd3e86e03df5e3a9dc63 /components/drivers/include/rtdevice.h
parent6acf4a4528287935de1e2cb51c4b476ee82d19db (diff)
[DeviceDrivers] Add pin.h in the rtdevice.h
Diffstat (limited to 'components/drivers/include/rtdevice.h')
-rw-r--r--components/drivers/include/rtdevice.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h
index dc9761032e..bb01da2d12 100644
--- a/components/drivers/include/rtdevice.h
+++ b/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__ */