From cd5e906bd0cfb9e59132a34134e0833bc8a8bc83 Mon Sep 17 00:00:00 2001 From: Christian Helmuth Date: Thu, 24 Oct 2019 14:46:13 +0200 Subject: [PATCH] imx: do not convert LF to CRLF in UART driver This is done on higher level already. --- repos/base/include/drivers/uart/imx.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/repos/base/include/drivers/uart/imx.h b/repos/base/include/drivers/uart/imx.h index bc628b573..bcb6f102c 100644 --- a/repos/base/include/drivers/uart/imx.h +++ b/repos/base/include/drivers/uart/imx.h @@ -259,12 +259,6 @@ class Genode::Imx_uart: Mmio */ void put_char(char c) { - enum { ASCII_LINE_FEED = 10, - ASCII_CARRIAGE_RETURN = 13 }; - - /* prepend line feed with carriage return */ - if (c == ASCII_LINE_FEED) _put_char(ASCII_CARRIAGE_RETURN); - /* transmit character */ _put_char(c); }