From 19b1519d40d8e52dff70737f5f3cae4f505a9a51 Mon Sep 17 00:00:00 2001 From: kasperskaarhoj Date: Sun, 15 Jan 2012 07:40:27 +0100 Subject: [PATCH] Update libraries/SoftwareSerial/SoftwareSerial.h --- libraries/SoftwareSerial/SoftwareSerial.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/libraries/SoftwareSerial/SoftwareSerial.h b/libraries/SoftwareSerial/SoftwareSerial.h index a6a60b5560f..3d32316364d 100755 --- a/libraries/SoftwareSerial/SoftwareSerial.h +++ b/libraries/SoftwareSerial/SoftwareSerial.h @@ -39,7 +39,18 @@ The latest version of this library can always be found at * Definitions ******************************************************************************/ +/****************************************************************************** +* Definitions +******************************************************************************/ + +#ifndef _SS_MAX_RX_BUFF // Wrapping the definition allows custom configuration in sketches #define _SS_MAX_RX_BUFF 64 // RX buffer size +#endif + +#ifndef GCC_VERSION +#define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) +#endif + #ifndef GCC_VERSION #define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) #endif