From 6f3996ef8bafb3895f02abf26208ea91167248cb Mon Sep 17 00:00:00 2001 From: Nico Date: Tue, 3 Feb 2015 19:05:30 +0100 Subject: [PATCH] Fixed bug which occured after another "fix" --- avr/cores/hid/HardwareSerial.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/avr/cores/hid/HardwareSerial.h b/avr/cores/hid/HardwareSerial.h index 203008d..7f4f162 100644 --- a/avr/cores/hid/HardwareSerial.h +++ b/avr/cores/hid/HardwareSerial.h @@ -34,14 +34,14 @@ // location from which to read. // NOTE: a "power of 2" buffer size is reccomended to dramatically // optimize all the modulo operations for ring buffers. -#if !(defined(SERIAL_TX_BUFFER_SIZE) +#if !defined(SERIAL_TX_BUFFER_SIZE) #if (RAMEND < 1000) #define SERIAL_TX_BUFFER_SIZE 16 #else #define SERIAL_TX_BUFFER_SIZE 64 #endif #endif -#if !defined(SERIAL_RX_BUFFER_SIZE)) +#if !defined(SERIAL_RX_BUFFER_SIZE) #if (RAMEND < 1000) #define SERIAL_RX_BUFFER_SIZE 16 #else