stdio: add line feed on new line
This commit is contained in:
parent
a8598e7977
commit
eae487678c
1 changed files with 2 additions and 0 deletions
|
|
@ -9,6 +9,8 @@ spinlock_t printf_lock = 0;
|
|||
|
||||
static inline void printf_out(char c)
|
||||
{
|
||||
if(c == '\n')
|
||||
serial_putchar('\r');
|
||||
serial_putchar(c);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue