Skip to content
Snippets Groups Projects
Commit ce1a7d15 authored by Bin Meng's avatar Bin Meng Committed by Tom Rini
Browse files

debug_uart: Remove duplicated carriage return handling


Since commit b391d743 "debug_uart: output CR along with LF", the
handling in puts() is duplicated, not to mention that it should
output carriage return before line feed.

Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent 075bb5c6
No related branches found
No related tags found
No related merge requests found
......@@ -515,8 +515,6 @@ void puts(const char *s)
int ch = *s++;
printch(ch);
if (ch == '\n')
printch('\r');
}
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment