summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/mips/csb350
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-08 10:38:46 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-12 09:57:53 +0200
commit1bc0ad2e12e9e523a9b9043ac47254a0597826bf (patch)
tree3ce927bb1e48b6961d64f235162fa823cbac815d /c/src/lib/libbsp/mips/csb350
parentposix: Use mutex object itself for condvar (diff)
downloadrtems-1bc0ad2e12e9e523a9b9043ac47254a0597826bf.tar.bz2
Simplify and unify BSP_output_char
The BSP_output_char should output a char and not mingle with high level processing, e.g. '\n' to '\r\n' translation. Move this translation to rtems_putc(). Remove it from all the BSP_output_char implementations. Close #3122.
Diffstat (limited to 'c/src/lib/libbsp/mips/csb350')
-rw-r--r--c/src/lib/libbsp/mips/csb350/console/console-io.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/mips/csb350/console/console-io.c b/c/src/lib/libbsp/mips/csb350/console/console-io.c
index 18c8be083a..e1beff8460 100644
--- a/c/src/lib/libbsp/mips/csb350/console/console-io.c
+++ b/c/src/lib/libbsp/mips/csb350/console/console-io.c
@@ -73,9 +73,6 @@ int console_inbyte_nonblocking(
static void csb250_output_char(char c)
{
console_outbyte_polled( 0, c );
- if (c == '\n') {
- console_outbyte_polled( 0, '\r' );
- }
}
static int csb250_get_char(void)