diff --git a/cores/nRF5/RingBuffer.h b/cores/nRF5/RingBuffer.h index e212e6b6..cf8f77d3 100644 --- a/cores/nRF5/RingBuffer.h +++ b/cores/nRF5/RingBuffer.h @@ -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 {