2009-11-24 Ralf Corsépius <ralf.corsepius@rtems.org>

* shared/console/console.c: Use int as return type of
	BSP_uart_polled_read.
This commit is contained in:
Ralf Corsepius
2009-11-24 06:40:50 +00:00
parent de87499481
commit db8698d069
2 changed files with 8 additions and 3 deletions

View File

@@ -21,7 +21,7 @@
#include <rtems/libio.h>
void BSP_uart_polled_write(char ch);
char BSP_uart_polled_read( void );
int BSP_uart_polled_read( void );
char BSP_uart_is_character_ready(char *ch);
/* console_initialize
@@ -87,13 +87,13 @@ bool is_character_ready(
* character read from SOURCE
*/
char inbyte( void )
int inbyte( void )
{
/*
* If polling, wait until a character is available.
*/
return (char) BSP_uart_polled_read();
return BSP_uart_polled_read();
}
/* outbyte