summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorzhujiale <[email protected]>2024-11-20 10:04:53 +0800
committerRbb666 <[email protected]>2024-12-17 11:08:14 +0800
commit27cf024585bee854eb032b4240f1a2390a3c29d7 (patch)
tree14632d9251b8fc7c52e4845fb09ef90a8ad42bf1 /components/drivers/include/rtdevice.h
parentc1166e0bf16aeda85e5facd01506973afcf6e8c6 (diff)
[serial] add bypass hook to direct processing char when uart irq coming
Diffstat (limited to 'components/drivers/include/rtdevice.h')
-rw-r--r--components/drivers/include/rtdevice.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h
index 09f5e455f7..31ac538945 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -152,6 +152,9 @@ extern "C" {
#include "drivers/dev_serial_v2.h"
#else
#include "drivers/dev_serial.h"
+#ifdef RT_USING_SERIAL_BYPASS
+#include "drivers/bypass.h"
+#endif /* RT_USING_SERIAL_BYPASS */
#endif
#endif /* RT_USING_SERIAL */