2009-06-02 Joel Sherrill <joel.sherrill@OARcorp.com>

* at91rm9200/dbgu/dbgu.c: Needed carriage return on newline.
This commit is contained in:
Joel Sherrill
2009-06-02 22:20:16 +00:00
parent e7bde49248
commit 3b8dfa66e7
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
2009-06-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* at91rm9200/dbgu/dbgu.c: Needed carriage return on newline.
2009-05-27 Fernando Nicodemos <fgnicodemos@terra.com.br>
* at91rm9200/clock/clock.c: Add support for nanoseconds since last

View File

@@ -213,7 +213,9 @@ int dbgu_poll_read(int minor)
* RTEMS system calls. It needs to be very simple
*/
static void _BSP_put_char( char c ) {
dbgu_write_polled(0, c);
dbgu_write_polled(0, c);
if ( c == '\n' )
dbgu_write_polled(0, '\r');
}
BSP_output_char_function_type BSP_output_char = _BSP_put_char;