Merge pull request #575 from frejanordsiek/allow-serial-buffer-size-change
Make definition of SERIAL_BUFFER_SIZE check if it is already defined (allows easier UART buffer size adjustment)
This commit is contained in:
1 file changed
+2
@@ -25,7 +25,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.
|
||||
#ifndef SERIAL_BUFFER_SIZE
|
||||
#define SERIAL_BUFFER_SIZE 64
|
||||
#endif
|
||||
|
||||
class RingBuffer
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user