mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-01 02:40:12 +08:00
[DeviceDriver] Add full flag to rt_serial_rx_fifo.
This commit is contained in:
1 parent
1730dcb83f
commit
14728ff4ae
1 file changed
+2
@@ -122,6 +122,8 @@ struct rt_serial_rx_fifo
|
||||
rt_uint8_t *buffer;
|
||||
|
||||
rt_uint16_t put_index, get_index;
|
||||
|
||||
rt_bool_t is_full;
|
||||
};
|
||||
|
||||
struct rt_serial_tx_fifo
|
||||
|
||||
Reference in new issue
Block a user