Skip to content

Commit 52d156c

Browse files
committed
Update serial buffer size of the SAMD Core to 256
* Brings it inline with the change in Arduino's SAMD board files arduino/ArduinoCore-samd@da9bfe8
1 parent 2d2c761 commit 52d156c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sparkfun/samd/cores/arduino/RingBuffer.h

+3-1
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)