removed waiting for CTS in serial out and reinstated the serial output by default...
authorJohn Tsiombikas <nuclear@mutantstargoat.com>
Sat, 9 Jun 2018 11:47:30 +0000 (14:47 +0300)
committerJohn Tsiombikas <nuclear@mutantstargoat.com>
Sat, 9 Jun 2018 11:47:30 +0000 (14:47 +0300)
src/config.h
src/serial.c

index be99bf7..58a6147 100644 (file)
@@ -22,6 +22,6 @@ along with this program.  If not, see <https://www.gnu.org/licenses/>.
 #define TICK_FREQ_HZ           250
 
 #define CON_TEXTMODE
 #define TICK_FREQ_HZ           250
 
 #define CON_TEXTMODE
-#undef CON_SERIAL
+#define CON_SERIAL
 
 #endif /* PCBOOT_CONFIG_H_ */
 
 #endif /* PCBOOT_CONFIG_H_ */
index 792f296..e833672 100644 (file)
@@ -234,7 +234,7 @@ void ser_putc(int fd, char c)
        }
 
        while(!can_send(fd));
        }
 
        while(!can_send(fd));
-       while((inb(base + UART_MSTAT) & MST_CTS) == 0);
+       /*while((inb(base + UART_MSTAT) & MST_CTS) == 0);*/
        outb(c, base + UART_DATA);
 }
 
        outb(c, base + UART_DATA);
 }