Convert \n to \r\n in serial_putchar().

This commit is contained in:
Bruce Evans 1995-08-26 20:03:43 +00:00
parent 6193bf6046
commit 826c5c4980

View File

@ -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));