Map newline to carriage return and newline

This commit is contained in:
Jeremy Soller
2019-12-30 10:26:04 -07:00
parent 390d6516be
commit 6029843c07

View File

@ -10,6 +10,7 @@
int putchar(int c) {
unsigned char byte = (unsigned char)c;
if (byte == '\n') putchar('\r');
#ifdef SERIAL_DEBUGGER
SBUF = byte;
#endif