Fixed ring buffer size limited to 255 elements, instead of the intended 65535 elements.
This commit is contained in:
parent
c6d6bdae0a
commit
738c9203fc
2 changed files with 2 additions and 2 deletions
|
@ -113,7 +113,7 @@
|
|||
uint8_t* Out; /**< Current retrieval location in the circular buffer. */
|
||||
uint8_t* Start; /**< Pointer to the start of the buffer's underlying storage array. */
|
||||
uint8_t* End; /**< Pointer to the end of the buffer's underlying storage array. */
|
||||
uint8_t Size; /**< Size of the buffer's underlying storage array. */
|
||||
uint16_t Size; /**< Size of the buffer's underlying storage array. */
|
||||
uint16_t Count; /**< Number of bytes currently stored in the buffer. */
|
||||
} RingBuffer_t;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue