
13 Jun
2010
13 Jun
'10
4:27 a.m.
On Thu, Jun 10, 2010 at 10:57 AM, Nicolas Ferre wrote:
--- a/drivers/serial/atmel_usart.c +++ b/drivers/serial/atmel_usart.c @@ -80,7 +80,8 @@ void serial_putc(char c) if (c == '\n') serial_putc('\r');
- while (!(usart3_readl(CSR) & USART3_BIT(TXRDY))) ;
- while (!(usart3_readl(CSR) & USART3_BIT(TXRDY)))
- WATCHDOG_RESET();
usart3_writel(THR, c); }
i think you'd want to call it before the while() loop, but not in it ... -mike