Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 732 → Rev 731

/shark/trunk/drivers/serial/scomirq.c
193,7 → 193,11
{
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 SCom_Access.confirm(port, COM_OK);
else
{
while((com_read(port,LSR) & bit6) == 0); /* Wait until last byte sent */
SCom_Access.confirm(port, COM_OK);
}
}
 
void RBRF_handler (unsigned port) /* Receive Data Register Full */