From: Keith Packard Date: Mon, 10 Mar 2014 03:58:36 +0000 (-0700) Subject: altos: fix building LPC serial support for STDIO X-Git-Tag: 1.3.2.2~165 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=6a4a074d690fb34af49704ac3cc4826eaf06dd9d altos: fix building LPC serial support for STDIO Signed-off-by: Keith Packard --- 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 }