From 0f86786b477edeec8df8109e51f80b6d91ae246d Mon Sep 17 00:00:00 2001 From: Sandeep Mistry Date: Mon, 18 Jul 2016 15:54:46 -0400 Subject: Wrap SoftwareSerial _SS_MAX_RX_BUFF define To allow sketches to override value as per #58. --- libraries/SoftwareSerial/src/SoftwareSerial.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libraries/SoftwareSerial/src') diff --git a/libraries/SoftwareSerial/src/SoftwareSerial.h b/libraries/SoftwareSerial/src/SoftwareSerial.h index 26183ba..b1a37c4 100644 --- a/libraries/SoftwareSerial/src/SoftwareSerial.h +++ b/libraries/SoftwareSerial/src/SoftwareSerial.h @@ -39,7 +39,10 @@ http://arduiniana.org. * Definitions ******************************************************************************/ +#ifndef _SS_MAX_RX_BUFF #define _SS_MAX_RX_BUFF 64 // RX buffer size +#endif + #ifndef GCC_VERSION #define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) #endif -- cgit v1.2.3-18-g5258