Convert \n to \r\n in serial_putchar().
This commit is contained in:
parent
6193bf6046
commit
826c5c4980
@ -50,6 +50,8 @@ void serial_putchar (unsigned char c)
|
||||
{
|
||||
unsigned char stat;
|
||||
|
||||
if (c == '\n')
|
||||
serial_putchar('\r');
|
||||
do {
|
||||
stat = inb (COMCONSOLE+5);
|
||||
} while (!(stat & 0x20));
|
||||
|
Loading…
Reference in New Issue
Block a user