mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2009-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* pxa255/ffuart/ffuart.c: Add BSP_poll_char.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2009-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* pxa255/ffuart/ffuart.c: Add BSP_poll_char.
|
||||
|
||||
2009-08-22 Xi Yang <hiyangxi@gmail.com>
|
||||
|
||||
* pxa255/include/pxa255.h: Add constants for LCD, Network, and Timer.
|
||||
|
||||
@@ -221,4 +221,9 @@ static void _BSP_put_char( char c ) {
|
||||
ffuart_write_polled(0, c);
|
||||
}
|
||||
|
||||
static int _BSP_poll_char(void) {
|
||||
return ffuart_poll_read(0);
|
||||
}
|
||||
|
||||
BSP_output_char_function_type BSP_output_char = _BSP_put_char;
|
||||
BSP_polling_getchar_function_type BSP_poll_char = _BSP_poll_char;
|
||||
|
||||
Reference in New Issue
Block a user