diff options
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/libcsupport/src/rtems_putc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/rtems_putc.c b/cpukit/libcsupport/src/rtems_putc.c index c078f7b302..784f768f1b 100644 --- a/cpukit/libcsupport/src/rtems_putc.c +++ b/cpukit/libcsupport/src/rtems_putc.c @@ -6,7 +6,7 @@ */ /* - * Copyright (c) 2012 embedded brains GmbH. All rights reserved. + * Copyright (c) 2012, 2017 embedded brains GmbH. All rights reserved. * * embedded brains GmbH * Obere Lagerstr. 30 @@ -27,5 +27,9 @@ void rtems_putc(char c) { + if (c == '\n') { + (*BSP_output_char)('\r'); + } + (*BSP_output_char)(c); } |