projects
/
my-code
/
arm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62c9b5c
)
no automatic \r\n tx in uart0_send_string function
author
hackbard
<hackbard@staubsauger.localdomain>
Sun, 9 Sep 2007 19:53:24 +0000
(21:53 +0200)
committer
hackbard
<hackbard@staubsauger.localdomain>
Sun, 9 Sep 2007 19:53:24 +0000
(21:53 +0200)
betty/uart.c
patch
|
blob
|
history
diff --git
a/betty/uart.c
b/betty/uart.c
index
5760e3b
..
715509f
100644
(file)
--- 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;