Back out 70cb75adaf3243478276cebf367c5f47c4725715

This commit is contained in:
Gregory Nutt 2015-03-13 10:40:09 -06:00
parent ad216583b7
commit b83cea4f99

View File

@ -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);