Skip to content

Commit 5217a83

Browse files
committed
[utest][drivers][serial_v2] 漏提交的posix下标志位
1 parent 1055b11 commit 5217a83

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

components/drivers/include/drivers/dev_serial_v2.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,12 @@ struct rt_serial_device
337337
#ifdef RT_USING_SERIAL_BYPASS
338338
struct rt_serial_bypass* bypass;
339339
#endif
340+
340341
struct rt_device_notify rx_notify;
342+
343+
#ifdef RT_USING_POSIX_STDIO
344+
rt_bool_t is_posix_mode;
345+
#endif
341346
};
342347

343348
/**

0 commit comments

Comments
 (0)