diff options
Diffstat (limited to 'src/rt/circular_buffer.h')
| -rw-r--r-- | src/rt/circular_buffer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rt/circular_buffer.h b/src/rt/circular_buffer.h index 732ba329..9ddaba42 100644 --- a/src/rt/circular_buffer.h +++ b/src/rt/circular_buffer.h @@ -21,6 +21,7 @@ public: void dequeue(void *dst); uint8_t *peek(); bool is_empty(); + size_t size(); private: // Size of the buffer in bytes, should always be a power of two so that |