Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 731 → Rev 732

/shark/trunk/drivers/serial/scomirq.c
193,11 → 193,7
{
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 */