Skip to content

Commit 69e6f11

Browse files
authored
updates according to comments in pull request
1 parent 839cd7e commit 69e6f11

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

platform/CircularBuffer.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,10 @@ class CircularBuffer {
104104
_full = false;
105105
core_util_critical_section_exit();
106106
}
107-
108-
/** Returns the number of available transactions the buffer contains */
109-
CounterType available() {
107+
108+
/** Get the number of elements currently stored in the circular_buffer */
109+
CounterType size() const
110+
{
110111
core_util_critical_section_enter();
111112
CounterType elements;
112113
if (!_full)

0 commit comments

Comments
 (0)