summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2019-08-13 11:39:37 +0800
committerGitHub <[email protected]>2019-08-13 11:39:37 +0800
commited1db321968aa0a2f8bffee4e69354988a354f17 (patch)
tree231b6757e8cc81bb53abe607886d9c46fab184d6 /components/drivers/include/rtdevice.h
parent94b0b0cd2c7f11878ee99c476b81cf64106aadec (diff)
parent2b9a9e0163a833ca426109738507442d31a089fb (diff)
Merge pull request #2937 from balanceTWK/master_encoder
[components][drivers] add encoder driven 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 f764d30c24..0c009e9580 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -126,6 +126,10 @@ extern "C" {
#include "drivers/crypto.h"
#endif
+#ifdef RT_USING_ENCODER
+#include "drivers/encoder.h"
+#endif
+
#ifdef __cplusplus
}
#endif