We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5748045 + 9fc49bd commit 4606b85Copy full SHA for 4606b85
libraries/Arduino_CAN/src/SyncCanMsgRingbuffer.h
@@ -36,7 +36,7 @@ class SyncCanMsgRingbuffer
36
SyncCanMsgRingbuffer() : _can_msg_buf{} { }
37
38
39
- bool isFull() const { synchronized { _can_msg_buf.isFull(); } }
+ bool isFull() const { synchronized { return _can_msg_buf.isFull(); } }
40
void enqueue(CanMsg const & msg) { synchronized { _can_msg_buf.enqueue(msg); } }
41
42
bool isEmpty() const { synchronized { return _can_msg_buf.isEmpty(); } }
0 commit comments