Do not map newline to carriage return and newline.
This commit is contained in:
@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
int putchar(int c) {
|
int putchar(int c) {
|
||||||
unsigned char byte = (unsigned char)c;
|
unsigned char byte = (unsigned char)c;
|
||||||
if (byte == '\n') putchar('\r');
|
|
||||||
#ifdef SERIAL_DEBUGGER
|
#ifdef SERIAL_DEBUGGER
|
||||||
SBUF = byte;
|
SBUF = byte;
|
||||||
#endif
|
#endif
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
int putchar(int c) {
|
int putchar(int c) {
|
||||||
unsigned char byte = (unsigned char)c;
|
unsigned char byte = (unsigned char)c;
|
||||||
if (byte == '\n') putchar('\r');
|
|
||||||
#ifdef SERIAL_DEBUGGER
|
#ifdef SERIAL_DEBUGGER
|
||||||
SBUF = byte;
|
SBUF = byte;
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user