Skip to content

Commit

Permalink
Increase the default serial buffer size to 256 (variant can override …
Browse files Browse the repository at this point in the history
…via define)
  • Loading branch information
sandeepmistry authored and facchinm committed Nov 27, 2018
1 parent 4b24b9d commit da9bfe8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cores/arduino/RingBuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
// using a ring buffer (I think), in which head is the index of the location
// to which to write the next incoming character and tail is the index of the
// location from which to read.
#define SERIAL_BUFFER_SIZE 64
#ifndef SERIAL_BUFFER_SIZE
#define SERIAL_BUFFER_SIZE 256
#endif

template <int N>
class RingBufferN
Expand Down

0 comments on commit da9bfe8

Please sign in to comment.