/shark/trunk/drivers/serial/scomirq.c |
---|
193,12 → 193,8 |
{ |
if (SCom_TX_data[port].ptr < SCom_TX_data[port].len) |
com_write(port, THR, SCom_TX_data[port].buf[SCom_TX_data[port].ptr++]); |
else |
{ |
while((com_read(port,LSR) & bit6) == 0); /* Wait until last byte sent */ |
SCom_Access.confirm(port, COM_OK); |
else SCom_Access.confirm(port, COM_OK); |
} |
} |
void RBRF_handler (unsigned port) /* Receive Data Register Full */ |
{ |