print: Add '\r' whenever '\n' appears for actual serial consoles
This commit is contained in:
parent
ba10785eb9
commit
375ef2eddf
@ -122,6 +122,8 @@ int print(char *fmt, ...) {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
putc(*c);
|
putc(*c);
|
||||||
|
if (*c == '\n')
|
||||||
|
putc('\r');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
va_end(arg);
|
va_end(arg);
|
||||||
|
Loading…
Reference in New Issue
Block a user