Fix FIFO overflow in rs232 driver

This commit is contained in:
Mark
2020-01-09 16:40:28 +02:00
parent a8d6ad94c8
commit 8d316f3c8b
+2
View File
@@ -30,6 +30,8 @@
#define RS232_LSR_ERR 128
void rs232_send(uint16_t port, char c) {
while (!(inb(port + RS232_LSR) & RS232_LSR_THRE)) {
}
outb(port, c);
}