summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2018-06-08 20:12:10 +0800
committerGitHub <[email protected]>2018-06-08 20:12:10 +0800
commit6724fb3994aa7e14235a23136e87f015965aed07 (patch)
treece0fb639020a97b299c72f0fb07ecea74cdea2fc /components/drivers/include/rtdevice.h
parent3592b3684a5b31e100cc171dafcb2550226091f5 (diff)
parent5569d17b957edcccefeac83818c90030ee9d955d (diff)
Merge pull request #1511 from aozima/driver_pwm_dev
[DeviceDrivers] add pwm driver framework.
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 f7aadd8305..e3c826fe53 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -112,6 +112,10 @@ extern "C" {
#include "drivers/cputime.h"
#endif
+#ifdef RT_USING_PWM
+#include "drivers/rt_drv_pwm.h"
+#endif
+
#ifdef __cplusplus
}
#endif