From 97e27b2430a2ba2294c772408171c807520a070c Mon Sep 17 00:00:00 2001 From: Thomas Otto Date: Sun, 28 Mar 2010 15:51:10 +0200 Subject: Make 72MHz the default in usart.c --- lib/usart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/usart.c') diff --git a/lib/usart.c b/lib/usart.c index cb32666..57b3ed5 100644 --- a/lib/usart.c +++ b/lib/usart.c @@ -21,7 +21,7 @@ void usart_set_baudrate(u32 usart, u32 baud) { - u32 clock = 36000000; /* FIXME: Don't hardcode this clock! */ + u32 clock = 72000000; /* FIXME: Don't hardcode this clock! */ /* TODO: Document and explain calculation. */ USART_BRR(usart) = (u16)((clock << 4) / (baud * 16)); -- cgit v1.2.3