Skip to content

Commit 0626040

Browse files
committed
removed waiting for CTS in serial out and reinstated the serial output by default. This needs to become an option of some sort.
1 parent 934e401 commit 0626040

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
2222
#define TICK_FREQ_HZ 250
2323

2424
#define CON_TEXTMODE
25-
#undef CON_SERIAL
25+
#define CON_SERIAL
2626

2727
#endif /* PCBOOT_CONFIG_H_ */

src/serial.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ void ser_putc(int fd, char c)
234234
}
235235

236236
while(!can_send(fd));
237-
while((inb(base + UART_MSTAT) & MST_CTS) == 0);
237+
/*while((inb(base + UART_MSTAT) & MST_CTS) == 0);*/
238238
outb(c, base + UART_DATA);
239239
}
240240

0 commit comments

Comments
 (0)