Skip to content

Commit

Permalink
fix: correctly implement Print interface
Browse files Browse the repository at this point in the history
  • Loading branch information
mishamyrt committed Nov 9, 2024
1 parent 0b37016 commit d21281c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "RingBuffer",
"version": "1.0.0",
"version": "1.0.1",
"description": "Compact ring buffer",
"keywords": "timing",
"repository":
Expand Down
2 changes: 1 addition & 1 deletion src/RingBuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class RingBuffer {
return count;
}

size_t availableForWrite() {
int availableForWrite() {
return Size - count;
}

Expand Down

0 comments on commit d21281c

Please sign in to comment.