mirror of
https://github.com/apache/nuttx.git
synced 2026-08-15 01:13:29 +00:00
Back out 70cb75adaf3243478276cebf367c5f47c4725715
This commit is contained in:
parent
ad216583b7
commit
b83cea4f99
1 changed files with 1 additions and 1 deletions
|
|
@ -877,7 +877,7 @@ static int uart_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
|
|||
}
|
||||
else
|
||||
{
|
||||
count = dev->xmit.size - (dev->xmit.head - dev->xmit.tail);
|
||||
count = dev->xmit.size - (dev->xmit.head - dev->xmit.tail) - 1;
|
||||
}
|
||||
|
||||
irqrestore(state);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue