print: Add '\r' whenever '\n' appears for actual serial consoles

This commit is contained in:
Aaron Lindsay 2012-09-29 23:24:55 -04:00
父節點 ba10785eb9
當前提交 375ef2eddf
共有 1 個文件被更改,包括 2 次插入0 次删除

查看文件

@ -122,6 +122,8 @@ int print(char *fmt, ...) {
}
} else {
putc(*c);
if (*c == '\n')
putc('\r');
}
}
va_end(arg);