Skip to content

Commit 326ef21

Browse files
committed
Add comment to am_ringbuf_ctor()
1 parent ec20d73 commit 326ef21

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libs/ringbuf/ringbuf.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ extern "C" {
6464
/**
6565
* Construct ring buffer.
6666
*
67+
* Must be called before calling any other ring buffer API.
68+
*
6769
* @param rb the ring buffer
6870
* @param buf the ring buffer's memory
6971
* @param buf_size the ring buffer's memory size [bytes]

0 commit comments

Comments
 (0)