Skip to content

Commit 51b7731

Browse files
committed
fix: address warning
1 parent f6148c3 commit 51b7731

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: cores/arduino/SafeRingBuffer.h

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ int SafeRingBufferN<N>::read_char() {
4141
synchronized {
4242
return RingBufferN<N>::read_char();
4343
}
44+
return -1;
4445
}
4546

4647
template <int N>

0 commit comments

Comments
 (0)