Okay the I think I found a bug in ringbuffer_remove. I'll provide a test and a fix tomorrow.

Am 2017-03-01 16:42 schrieb Kaspar Schleiser:
Hi Simon,

On 03/01/2017 04:34 PM, Simon Brummer wrote:
I have  a question regarding the core ringbuffer.
The remove function obviously removes elements from a ringbuffer.
What elements are removed? The latest added elements or earliest added
elements.

ringbuffer_remove() works like ringbuffer_get() without putting the
removed elements anywhere. It removes the earliest added elements.

Kaspar
_______________________________________________
users mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/users

Reply via email to