Revert "Fixed writable for LPC1768"

This reverts commit 19ae097c62.
pull/194/head
Sissors 2014-03-01 16:46:48 +01:00
parent ace842b1f1
commit baa4003b95
1 changed files with 1 additions and 1 deletions

View File

@ -368,7 +368,7 @@ int serial_writable(serial_t *obj) {
if (NC != uart_data[obj->index].sw_cts.pin)
isWritable = gpio_read(&uart_data[obj->index].sw_cts) == 0;
if (isWritable)
isWritable = obj->uart->LSR & 0x20;
isWritable = obj->uart->LSR & 0x40;
return isWritable;
}