Disabled ser_putc for reporting debug internal to tty over the serial line.

Disabled return statement for serial debug input in the kernel.
This commit is contained in:
Philip Homburg 2007-04-23 14:59:32 +00:00
parent a3c8619923
commit bb659b1ad6
2 changed files with 7 additions and 0 deletions

View File

@ -1170,6 +1170,9 @@ int c; /* character to print */
if (c != 0) {
if (c == '\n') cons_putk('\r');
out_char(&cons_table[0], (int) c);
#if 0
ser_putc(c);
#endif
} else {
flush(&cons_table[0]);
}

View File

@ -891,6 +891,10 @@ register rs232_t *rs; /* line with input interrupt */
unsigned long c;
#if 0 /* Enable this if you want serial input in the kernel */
return;
#endif
#if (MACHINE == IBM_PC)
sys_inb(rs->recv_port, &c);
#else /* MACHINE == ATARI */