Map newline to carriage return and newline
This commit is contained in:
parent
390d6516be
commit
6029843c07
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user