Skip to content

Commit e103088

Browse files
Fix isEmpty
1 parent dc15244 commit e103088

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/RingBuffer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class RingBufferN
5555

5656
private:
5757
int nextIndex(int index);
58-
inline bool isEmpty() const { return (_iHead == iTail); }
58+
inline bool isEmpty() const { return (_iHead == _iTail); }
5959
};
6060

6161
typedef RingBufferN<SERIAL_BUFFER_SIZE> RingBuffer;

0 commit comments

Comments
 (0)