Back out 70cb75adaf3243478276cebf367c5f47c4725715
This commit is contained in:
parent
ad216583b7
commit
b83cea4f99
@ -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…
Reference in New Issue
Block a user