From f21b8b6a44126e6730a93dafa34e9d346b050248 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Mon, 30 Dec 2019 10:56:19 -0700 Subject: [PATCH] Do not map newline to carriage return and newline. --- src/board/system76/galp3-c/scratch/stdio.c | 1 - src/board/system76/galp3-c/stdio.c | 1 - 2 files changed, 2 deletions(-) diff --git a/src/board/system76/galp3-c/scratch/stdio.c b/src/board/system76/galp3-c/scratch/stdio.c index d0610c3..6537ec8 100644 --- a/src/board/system76/galp3-c/scratch/stdio.c +++ b/src/board/system76/galp3-c/scratch/stdio.c @@ -10,7 +10,6 @@ int putchar(int c) { unsigned char byte = (unsigned char)c; - if (byte == '\n') putchar('\r'); #ifdef SERIAL_DEBUGGER SBUF = byte; #endif diff --git a/src/board/system76/galp3-c/stdio.c b/src/board/system76/galp3-c/stdio.c index d0610c3..6537ec8 100644 --- a/src/board/system76/galp3-c/stdio.c +++ b/src/board/system76/galp3-c/stdio.c @@ -10,7 +10,6 @@ int putchar(int c) { unsigned char byte = (unsigned char)c; - if (byte == '\n') putchar('\r'); #ifdef SERIAL_DEBUGGER SBUF = byte; #endif