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 da9bfe8

Browse files
sandeepmistryfacchinm
authored andcommitted
Increase the default serial buffer size to 256 (variant can override via define)
1 parent 4b24b9d commit da9bfe8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎cores/arduino/RingBuffer.h‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
// using a ring buffer (I think), in which head is the index of the location
2828
// to which to write the next incoming character and tail is the index of the
2929
// location from which to read.
30-
#define SERIAL_BUFFER_SIZE 64
30+
#ifndef SERIAL_BUFFER_SIZE
31+
#define SERIAL_BUFFER_SIZE 256
32+
#endif
3133

3234
template <int N>
3335
class RingBufferN

0 commit comments

Comments
(0)

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