Fixed unit port build issue

This commit is contained in:
EmergReanimator 2022-01-06 09:27:44 +01:00
parent da58c029a0
commit 12046323a2
1 changed files with 2 additions and 1 deletions

View File

@ -527,7 +527,8 @@ STATIC mp_obj_t extra_coverage(void) {
// ringbuf
{
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");