From f809bf65024c58e96e19d1268ebf3e3dc7a2297d Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Thu, 2 Jul 2020 21:45:00 -0300 Subject: [PATCH] Undo local changes to serial.c --- src/device/serial.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/device/serial.c b/src/device/serial.c index 2d1aad6b3..e5490d763 100644 --- a/src/device/serial.c +++ b/src/device/serial.c @@ -203,14 +203,6 @@ serial_transmit(serial_t *dev, uint8_t val) write_fifo(dev, val); else if (dev->sd->dev_write) dev->sd->dev_write(dev, dev->sd->priv, val); - - if ((val >= ' ' && val <= '~') || val == '\r' || val == '\n') { - fputc(val, stdout); - if (val == '\n') - fflush(stdout); - } else { - fprintf(stdout, "[%02X]", val); - } }