We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03796a5 commit 22897bbCopy full SHA for 22897bb
cores/arduino/RingBuffer.h
@@ -29,7 +29,7 @@
29
// location from which to read.
30
#define SERIAL_BUFFER_SIZE 64
31
32
-template <int N = SERIAL_BUFFER_SIZE>
+template <int N>
33
class RingBufferT
34
{
35
public:
@@ -51,7 +51,7 @@ class RingBufferT
51
int nextIndex(int index);
52
};
53
54
-typedef RingBufferT<> RingBuffer;
+typedef RingBufferT<SERIAL_BUFFER_SIZE> RingBuffer;
55
56
57
template <int N>
0 commit comments