[DeviceDriver] Add full flag to rt_serial_rx_fifo.
This commit is contained in:
parent
1730dcb83f
commit
14728ff4ae
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user