Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0f86786

Browse files
Wrap SoftwareSerial _SS_MAX_RX_BUFF define
To allow sketches to override value as per #58.
1 parent c48cb93 commit 0f86786

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎libraries/SoftwareSerial/src/SoftwareSerial.h‎

Lines changed: 3 additions & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /