From 0bd0ba6e6e3fa21faef2fb9c645bb586f6cc7ce7 Mon Sep 17 00:00:00 2001 From: Simen Svale Skogsrud Date: Fri, 4 Feb 2011 21:10:17 +0100 Subject: [PATCH] eliminated an old header file --- wiring_serial.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/wiring_serial.c b/wiring_serial.c index 2f08fd8..3825a92 100644 --- a/wiring_serial.c +++ b/wiring_serial.c @@ -22,9 +22,10 @@ $Id: wiring.c 248 2007-02-03 15:36:30Z mellis $ */ -#include "wiring_private.h" +//#include "wiring_private.h" #include #include +#include // Define constants and variables for buffering incoming serial data. We're // using a ring buffer (I think), in which rx_buffer_head is the index of the @@ -43,11 +44,11 @@ void beginSerial(long baud) UBRR0L = ((F_CPU / 16 + baud / 2) / baud - 1); // enable rx and tx - sbi(UCSR0B, RXEN0); - sbi(UCSR0B, TXEN0); + UCSR0B |= 1<