summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2019-01-03 07:25:25 +0800
committerGitHub <[email protected]>2019-01-03 07:25:25 +0800
commitd113eb07f5157696275a508f991e1b837a1506f7 (patch)
treec9c2470af61ddd9f761a8b8741295abad11386b1 /components/drivers/include/rtdevice.h
parentaf33226fab71a6a93e88ce1372509d6667ccd4af (diff)
parent1805aadbbbb60854164508f25728c91d71785f27 (diff)
Merge pull request #2145 from armink/lts-v3.1.x
Lts v3.1.x
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 1843432768..d59b40cc47 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -99,6 +99,10 @@ extern "C" {
#include "drivers/cputime.h"
#endif
+#ifdef RT_USING_ADC
+#include "drivers/adc.h"
+#endif
+
#ifdef RT_USING_PWM
#include "drivers/rt_drv_pwm.h"
#endif