Fix assert in ringbuf_memcpy_from
This commit is contained in:
parent
4cf5bd8d70
commit
3e73f860d1
1 changed files with 1 additions and 1 deletions
|
|
@ -313,7 +313,7 @@ ringbuf_memcpy_from(void *dst, const ringbuf_t src, size_t count)
|
|||
tail = src->buf;
|
||||
}
|
||||
|
||||
assert(count + ringbuf_bytes_used(src) == bytes_used);
|
||||
assert(ringbuf_bytes_used(src) == bytes_used);
|
||||
return count;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue