From 3b51a4b81ef073f87026983e740fb747f29b17c2 Mon Sep 17 00:00:00 2001 From: Simen Svale Skogsrud Date: Fri, 11 Feb 2011 08:25:49 +0100 Subject: [PATCH] added one line to disable baud doubling on Uno --- wiring_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiring_serial.c b/wiring_serial.c index a2fb824..20f8756 100644 --- a/wiring_serial.c +++ b/wiring_serial.c @@ -44,7 +44,7 @@ void beginSerial(long baud) UBRR0L = ((F_CPU / 16 + baud / 2) / baud - 1); /* baud doubler off - Only needed on Uno XXX */ - // UCSR0A &= ~(1 << U2X0); + UCSR0A &= ~(1 << U2X0); // enable rx and tx UCSR0B |= 1<