summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authoraozima <[email protected]>2018-06-07 21:23:22 +0800
committeraozima <[email protected]>2018-06-07 21:23:22 +0800
commitcdfef4839594423a53c683b6234587ff5bab12eb (patch)
treef0aeb712ab9f8e18fa3257416e809dd67cbb97a9 /components/drivers/include/rtdevice.h
parent3592b3684a5b31e100cc171dafcb2550226091f5 (diff)
[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