diff options
| author | armink <[email protected]> | 2017-05-24 08:51:00 +0800 |
|---|---|---|
| committer | armink <[email protected]> | 2017-05-24 08:51:00 +0800 |
| commit | 14728ff4ae1745b662a8227ff6582f3fdb760acc (patch) | |
| tree | 1b3615d105873ea9fc71dab1d0d2f27c3cf5ec14 | |
| parent | 1730dcb83f6079c4e382ef8a35e51e391507754c (diff) | |
[DeviceDriver] Add full flag to rt_serial_rx_fifo.
| -rw-r--r-- | components/drivers/include/drivers/serial.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/drivers/include/drivers/serial.h b/components/drivers/include/drivers/serial.h index c7e99ed472..ae6ad5c1fe 100644 --- a/components/drivers/include/drivers/serial.h +++ b/components/drivers/include/drivers/serial.h @@ -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 |
