diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/uart8250.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/uart8250.c b/src/lib/uart8250.c index fe8ed705d6..261b90f2b2 100644 --- a/src/lib/uart8250.c +++ b/src/lib/uart8250.c @@ -75,7 +75,7 @@ unsigned char uart8250_rx_byte(unsigned base_port) { unsigned long int i = SINGLE_CHAR_TIMEOUT; while (i-- && !uart8250_can_rx_byte(base_port)); - + if (i) return inb(base_port + UART_RBR); else |