From 65e9364d2f45399c5bd327674b606234efcfd17f Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Wed, 3 Nov 2010 12:03:37 +0100 Subject: [PATCH] * disable irq-based uart output --- msba2/drivers/msba2-uart0.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/msba2/drivers/msba2-uart0.c b/msba2/drivers/msba2-uart0.c index 9198f50bb2..8ff7e11e37 100644 --- a/msba2/drivers/msba2-uart0.c +++ b/msba2/drivers/msba2-uart0.c @@ -149,7 +149,7 @@ void UART0_IRQHandler(void) static inline int uart0_puts(char *astring,int length) { - while (queue_items == (QUEUESIZE-1)) {} ; +/* while (queue_items == (QUEUESIZE-1)) {} ; U0IER = 0; queue[queue_tail] = malloc(length+sizeof(unsigned int)); queue[queue_tail]->len = length; @@ -158,14 +158,14 @@ static inline int uart0_puts(char *astring,int length) if (!running) push_queue(); U0IER |= BIT0 | BIT1; // enable RX irq - - /* alternative without queue: +*/ + /* alternative without queue:*/ int i; for (i=0;i