summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorarmink <[email protected]>2019-01-02 16:49:57 +0800
committerarmink <[email protected]>2019-01-02 16:49:57 +0800
commit1805aadbbbb60854164508f25728c91d71785f27 (patch)
treec9c2470af61ddd9f761a8b8741295abad11386b1 /components/drivers/include/rtdevice.h
parentebc14b09d5c1ccf61a7bf2e70d410dbadb087322 (diff)
[component] Sync to latest version.
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