altos/lpc: Take advantage of USART TX fifo
authorKeith Packard <keithp@keithp.com>
Sat, 20 Apr 2013 05:40:38 +0000 (00:40 -0500)
committerKeith Packard <keithp@keithp.com>
Fri, 17 May 2013 10:50:07 +0000 (03:50 -0700)
commit9bf67798b134ad796c2f4bc9240ee450722148ec
treeedb1857e56f294ed2abddb415df9ff50bd0c4d79
parent9e8f6ba8b779cd9635f82d6da5f113715c3ee4c7
altos/lpc: Take advantage of USART TX fifo

The USART has a 16-byte TX fifo; keep rough track of how full it is to
avoid waiting for an interrupt after every TX byte.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/lpc/ao_serial_lpc.c