imx: do not convert LF to CRLF in UART driver

This is done on higher level already.
This commit is contained in:
Christian Helmuth 2019-10-24 14:46:13 +02:00
parent c589660182
commit cd5e906bd0
1 changed files with 0 additions and 6 deletions

View File

@ -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);
}