Skip to content

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy