summaryrefslogtreecommitdiff
path: root/src/kernel/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/serial.c')
-rw-r--r--src/kernel/serial.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/serial.c b/src/kernel/serial.c
index c492e1e..93bb081 100644
--- a/src/kernel/serial.c
+++ b/src/kernel/serial.c
@@ -78,8 +78,8 @@ void sout(enum serial_port n, uint8_t b) {
serial_spin_t spinner = -1;
while (!(inb(ports[n] | CP_LINE_S) & CLS_WRITE))
if (--spinner) {
- error[n] = true;
- return;
+ //error[n] = true;
+ //return;
}
outb(ports[n] | CP_DATA, b);
}
@@ -90,4 +90,4 @@ uint8_t sin(enum serial_port n) {
while (!(inb(ports[n] | CP_LINE_S) & CLS_READ))
;//spin
return inb(ports[n] | CP_DATA);
-} \ No newline at end of file
+}