diff options
author | Keith Packard <keithp@keithp.com> | 2014-03-09 20:58:36 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-03-09 20:58:36 -0700 |
commit | 6a4a074d690fb34af49704ac3cc4826eaf06dd9d (patch) | |
tree | 18679cd857f38607acf7e37728954caa869ee22a /src | |
parent | 9671ca6c42544463fd551f81113c221265a2296e (diff) |
altos: fix building LPC serial support for STDIO
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/lpc/ao_serial_lpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lpc/ao_serial_lpc.c b/src/lpc/ao_serial_lpc.c index 431ae98a..b0d5fcbc 100644 --- a/src/lpc/ao_serial_lpc.c +++ b/src/lpc/ao_serial_lpc.c @@ -206,8 +206,8 @@ ao_serial_init(void) lpc_nvic_set_enable(LPC_ISR_USART_POS); lpc_nvic_set_priority(LPC_ISR_USART_POS, 0); #if USE_SERIAL_0_STDIN - ao_add_stdio(_ao_serial_pollchar, - ao_serial_putchar, + ao_add_stdio(_ao_serial0_pollchar, + ao_serial0_putchar, NULL); #endif } |