From 73d5acecba80316e717f8ecdc43526575dcfbe0c Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Tue, 20 Jan 2015 07:24:49 +0000 Subject: [PATCH] [DeviceDrivers] Add pin.h in the rtdevice.h --- components/drivers/include/rtdevice.h | 4 ++++ 1 file changed, 4 insertions(+) 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__ */