]> hackdaworld.org Git - my-code/arm.git/commitdiff
no automatic \r\n tx in uart0_send_string function
authorhackbard <hackbard@staubsauger.localdomain>
Sun, 9 Sep 2007 19:53:24 +0000 (21:53 +0200)
committerhackbard <hackbard@staubsauger.localdomain>
Sun, 9 Sep 2007 19:53:24 +0000 (21:53 +0200)
betty/uart.c

index 5760e3b45dd4467ec29b680ee6f26286ee1022b1..715509ff70ddc94c61fa27a4532f45a347872592 100644 (file)
@@ -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;