diff options
Diffstat (limited to 'components/drivers/include/rtdevice.h')
| -rw-r--r-- | components/drivers/include/rtdevice.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h index aeb3fa5223..fbd3c9e7b2 100644 --- a/components/drivers/include/rtdevice.h +++ b/components/drivers/include/rtdevice.h @@ -80,9 +80,6 @@ extern "C" { #include "drivers/sdio.h" #endif /* RT_USING_SDIO */ -#ifdef RT_USING_SENSOR -#include "drivers/sensor.h" -#endif /* RT_USING_SENSOR */ #ifdef RT_USING_WDT #include "drivers/watchdog.h" @@ -92,6 +89,10 @@ extern "C" { #include "drivers/pin.h" #endif /* RT_USING_PIN */ +#ifdef RT_USING_SENSOR +#include "drivers/sensor.h" +#endif /* RT_USING_SENSOR */ + #ifdef RT_USING_CAN #include "drivers/can.h" #endif /* RT_USING_CAN */ |
