mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 11:40:18 +01:00
py/ringbuf: Implement put_bytes/get_bytes functions.
This commit is contained in:
@@ -96,4 +96,7 @@ int ringbuf_get16(ringbuf_t *r);
|
||||
int ringbuf_peek16(ringbuf_t *r);
|
||||
int ringbuf_put16(ringbuf_t *r, uint16_t v);
|
||||
|
||||
int ringbuf_get_bytes(ringbuf_t *r, uint8_t *data, size_t data_len);
|
||||
int ringbuf_put_bytes(ringbuf_t *r, const uint8_t *data, size_t data_len);
|
||||
|
||||
#endif // MICROPY_INCLUDED_PY_RINGBUF_H
|
||||
|
||||
Reference in New Issue
Block a user