forked from Imagelibrary/rtems
2010-08-15 Joel Sherrill <joel.sherrilL@OARcorp.com>
* at91rm9200/dbgu/dbgu.c, pxa255/ffuart/ffuart.c: Add BSP_poll_char.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2010-08-15 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||||
|
|
||||||
|
* at91rm9200/dbgu/dbgu.c, pxa255/ffuart/ffuart.c: Add BSP_poll_char.
|
||||||
|
|
||||||
2010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
2010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||||
|
|
||||||
* at91rm9200/dbgu/dbgu.c, at91rm9200/usart/usart.c,
|
* at91rm9200/dbgu/dbgu.c, at91rm9200/usart/usart.c,
|
||||||
|
|||||||
@@ -218,7 +218,7 @@ static void _BSP_put_char( char c ) {
|
|||||||
dbgu_write_polled(0, '\r');
|
dbgu_write_polled(0, '\r');
|
||||||
}
|
}
|
||||||
|
|
||||||
BSP_output_char_function_type BSP_output_char = _BSP_put_char;
|
BSP_output_char_function_type BSP_output_char = _BSP_put_char;
|
||||||
|
|
||||||
int _BSP_poll_char(void)
|
int _BSP_poll_char(void)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -225,5 +225,5 @@ static int _BSP_poll_char(void) {
|
|||||||
return ffuart_poll_read(0);
|
return ffuart_poll_read(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
BSP_output_char_function_type BSP_output_char = _BSP_put_char;
|
BSP_output_char_function_type BSP_output_char = _BSP_put_char;
|
||||||
BSP_polling_getchar_function_type BSP_poll_char = _BSP_poll_char;
|
BSP_polling_getchar_function_type BSP_poll_char = _BSP_poll_char;
|
||||||
|
|||||||
Reference in New Issue
Block a user