Skip to content
Snippets Groups Projects
Commit af2c3737 authored by Mike Frysinger's avatar Mike Frysinger
Browse files

Blackfin: recurse with early serial initcode


Make sure we recurse through serial_putc() rather than bang on the UART
transmit register directly to avoid hardware overflows when using \n.

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 6b8edfde
No related branches found
No related tags found
No related merge requests found
...@@ -92,7 +92,7 @@ static inline void serial_putc(char c) ...@@ -92,7 +92,7 @@ static inline void serial_putc(char c)
return; return;
if (c == '\n') if (c == '\n')
*pUART_THR = '\r'; serial_putc('\r');
*pUART_THR = c; *pUART_THR = c;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment