diff options
author | Benji Dial <benji6283@gmail.com> | 2021-01-24 12:00:11 -0500 |
---|---|---|
committer | Benji Dial <benji6283@gmail.com> | 2021-01-24 12:00:11 -0500 |
commit | bce944d1498eaa3b6940ee234c863b3548a66b37 (patch) | |
tree | ea40c087ab4f0f236aee8d158cf68550f5209f72 /src/kernel/serial.c | |
parent | ca731aa747214919df7b3dfe3478dbe787ce5b68 (diff) | |
download | portland-os-bce944d1498eaa3b6940ee234c863b3548a66b37.tar.gz |
graphics!
Diffstat (limited to 'src/kernel/serial.c')
-rw-r--r-- | src/kernel/serial.c | 6 |
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 +} |