summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2019-08-30 16:59:25 +0800
committerGitHub <[email protected]>2019-08-30 16:59:25 +0800
commitab78203e2af03652f805d2eeeceafd3ce3a41d94 (patch)
tree7f22179e6b844e1106f6bf30a606cb1d9620ba7a /components/drivers/include/rtdevice.h
parent779d86f1daba7e7118e58419e669d4c2d91968b1 (diff)
parent0f74ee7e20cf8c54ec967da7f6ac1ab472a723a2 (diff)
Merge pull request #2995 from balanceTWK/drv_encoder
[components][drivers] change name: encoder -> pulse_encoder
Diffstat (limited to 'components/drivers/include/rtdevice.h')
-rw-r--r--components/drivers/include/rtdevice.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h
index bb302ac2af..623c085430 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -126,8 +126,8 @@ extern "C" {
#include "drivers/crypto.h"
#endif
-#ifdef RT_USING_ENCODER
-#include "drivers/encoder.h"
+#ifdef RT_USING_PULSE_ENCODER
+#include "drivers/pulse_encoder.h"
#endif
#ifdef RT_USING_INPUT_CAPTURE