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 f6148c3 commit 51b7731Copy full SHA for 51b7731
cores/arduino/SafeRingBuffer.h
@@ -41,6 +41,7 @@ int SafeRingBufferN<N>::read_char() {
41
synchronized {
42
return RingBufferN<N>::read_char();
43
}
44
+ return -1;
45
46
47
template <int N>
0 commit comments