pbl: console: Use console_putc to output the carriage return
console_puts uses console_putc() to output characters, so the carriage return should be output with the same function. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
d925f1ed32
commit
c9a3849ec9
|
@ -32,7 +32,7 @@ int console_puts(unsigned int ch, const char *str)
|
|||
|
||||
while (*str) {
|
||||
if (*str == '\n')
|
||||
putc_ll('\r');
|
||||
console_putc(CONSOLE_STDOUT, '\r');
|
||||
|
||||
console_putc(CONSOLE_STDOUT, *str);
|
||||
str++;
|
||||
|
|
Loading…
Reference in New Issue