From 38c6de0e83cd19fd4c17c47844b80ba94c150b4b Mon Sep 17 00:00:00 2001 From: hackbard Date: Sun, 9 Sep 2007 21:53:24 +0200 Subject: [PATCH] no automatic \r\n tx in uart0_send_string function --- betty/uart.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/betty/uart.c b/betty/uart.c index 5760e3b..715509f 100644 --- a/betty/uart.c +++ b/betty/uart.c @@ -38,14 +38,6 @@ void uart0_send_string(char *txbuf) { continue; } - /* flush if \n and \r do not fit in the tx buffer */ - if(i>14) - while(!(UART0_LSR&(1<<6))) - continue; - - UART0_THR='\n'; - UART0_THR='\r'; - /* flush uart0 anyways */ while(!(UART0_LSR&(1<<6))) continue; -- 2.20.1