diff options
Diffstat (limited to 'c/src/lib/libbsp/avr/avrtest/console/console-io.c')
-rw-r--r-- | c/src/lib/libbsp/avr/avrtest/console/console-io.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/avr/avrtest/console/console-io.c b/c/src/lib/libbsp/avr/avrtest/console/console-io.c index b7b2548ef0..f02ad5dfb6 100644 --- a/c/src/lib/libbsp/avr/avrtest/console/console-io.c +++ b/c/src/lib/libbsp/avr/avrtest/console/console-io.c @@ -1,7 +1,9 @@ /* * This file contains the hardware specific portions of the TTY driver - * for the serial ports on the erc32. - * + * for the serial ports on the avr. + */ + +/* * COPYRIGHT (c) 1989-2008. * On-Line Applications Research Corporation (OAR). * @@ -11,6 +13,7 @@ */ #include <bsp.h> +#include <bsp/console-polled.h> #include <rtems/libio.h> #include <stdlib.h> #include <assert.h> @@ -59,7 +62,7 @@ int console_inbyte_nonblocking( #include <rtems/bspIo.h> -void AVRsimBSP_output_char(char c) { console_outbyte_polled( 0, c ); } +static void AVRsimBSP_output_char(char c) { console_outbyte_polled( 0, c ); } BSP_output_char_function_type BSP_output_char = AVRsimBSP_output_char; BSP_polling_getchar_function_type BSP_poll_char = NULL; |