diff options
author | Keith Packard <keithp@keithp.com> | 2011-04-01 14:11:44 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-04-01 14:11:44 -0700 |
commit | 9f8a96a8516e13878b329dbf1da855ed9a3219c4 (patch) | |
tree | 0b66f21fdb2dee96260394e06694ebefec4e8fce /src/ao_serial.c | |
parent | 4f243a282f9aeb7433ccb2942850d380a091e603 (diff) |
altos: Make ao_serial_drain public
Allow external code to discard serial input
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_serial.c')
-rw-r--r-- | src/ao_serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ao_serial.c b/src/ao_serial.c index d6395810..e9373e23 100644 --- a/src/ao_serial.c +++ b/src/ao_serial.c @@ -100,7 +100,7 @@ ao_serial_putchar(char c) __critical ao_serial_tx1_start(); } -static void +void ao_serial_drain(void) __critical { while (!ao_fifo_empty(ao_usart1_tx_fifo)) |