summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorrcitach <[email protected]>2025-08-01 20:59:08 +0800
committerGitHub <[email protected]>2025-08-01 20:59:08 +0800
commitae50e406da41f87d1567fada7593df3ed3ad0627 (patch)
tree4f6191d1e90a4500ecacc0b8dc4f756bd96bf4b0 /components/drivers/include/rtdevice.h
parentd82dd71aefd6a4ec4d3e43698a396dd235bfdb0f (diff)
【SMART】【BSP】【allwinner】Fix smart serial_v2 bypass compile error issue (#10524)
* Modify the reference path of the header file in the middle section * format * Fix smart serial_v2 bypass compile error issue * add allwinner/d1s ci
Diffstat (limited to 'components/drivers/include/rtdevice.h')
-rw-r--r--components/drivers/include/rtdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h
index fd4d316960..7007441c6b 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -152,10 +152,10 @@ extern "C" {
#include "drivers/dev_serial_v2.h"
#else
#include "drivers/dev_serial.h"
+#endif /* RT_USING_SERIAL_V2 */
#ifdef RT_USING_SERIAL_BYPASS
#include "drivers/serial_bypass.h"
#endif /* RT_USING_SERIAL_BYPASS */
-#endif
#endif /* RT_USING_SERIAL */
#ifdef RT_USING_I2C