Changed definition of SERIAL_BUFFER_SIZE in cores/nRF5/RingBuffer.h to check if it is already defined.

This commit is contained in:
Freja Nordsiek authored and GitHub committed 2020-09-14 10:32:58 +02:00
1 parent dc2802a2b1
commit f3a70865d4
1 file changed
+2
+2
View File
@@ -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
{