diff --git a/examples/lvgldemo/lvgldemo.c b/examples/lvgldemo/lvgldemo.c index b68bc0e93..15fb906b0 100644 --- a/examples/lvgldemo/lvgldemo.c +++ b/examples/lvgldemo/lvgldemo.c @@ -111,6 +111,7 @@ int main(int argc, FAR char *argv[]) #ifdef CONFIG_LV_USE_NUTTX_LIBUV uv_loop_t ui_loop; + lv_memzero(&ui_loop, sizeof(ui_loop)); #endif #ifdef NEED_BOARDINIT