diff options
| author | Bernard Xiong <[email protected]> | 2017-05-24 10:36:02 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-05-24 10:36:02 +0800 |
| commit | a38144407ef3adece8947890a7ac16bb407c4f7d (patch) | |
| tree | 26b1f63522e23c000295545e763bc94166db4c1c /components/drivers/include | |
| parent | 1730dcb83f6079c4e382ef8a35e51e391507754c (diff) | |
| parent | 98c830f3dede0b6d6744167e49e2340ba3416088 (diff) | |
Merge pull request #739 from armink/fix_uart_rx_dma
[DeviceDrivers] Fix uart rx dma
Diffstat (limited to 'components/drivers/include')
| -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 |
