9
0
Fork 0

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:
Sascha Hauer 2015-11-11 17:02:24 +01:00
parent d925f1ed32
commit c9a3849ec9
1 changed files with 1 additions and 1 deletions

View File

@ -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++;