Fixed unit port build issue
This commit is contained in:
parent
da58c029a0
commit
12046323a2
@ -527,7 +527,8 @@ STATIC mp_obj_t extra_coverage(void) {
|
|||||||
// ringbuf
|
// ringbuf
|
||||||
{
|
{
|
||||||
byte buf[100];
|
byte buf[100];
|
||||||
ringbuf_t ringbuf = {buf, sizeof(buf), 0, 0};
|
ringbuf_t ringbuf;
|
||||||
|
ringbuf_init(&ringbuf, &buf[0], sizeof(buf));
|
||||||
|
|
||||||
mp_printf(&mp_plat_print, "# ringbuf\n");
|
mp_printf(&mp_plat_print, "# ringbuf\n");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user