Skip to content

Commit b37430b

Browse files
committed
Wrap SoftwareSerial _SS_MAX_RX_BUFF define
To allow sketches to override value as per #58.
1 parent 05be7ce commit b37430b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hardware/arduino/avr/libraries/SoftwareSerial/src/SoftwareSerial.h

+3
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ The latest version of this library can always be found at
3939
* Definitions
4040
******************************************************************************/
4141

42+
#ifndef _SS_MAX_RX_BUFF
4243
#define _SS_MAX_RX_BUFF 64 // RX buffer size
44+
#endif
45+
4346
#ifndef GCC_VERSION
4447
#define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
4548
#endif

0 commit comments

Comments
 (0)