lvgldemo: fix uninit_use_in_call

Signed-off-by: jianglianfang <jianglianfang@xiaomi.com>
This commit is contained in:
jianglianfang 2024-03-22 17:27:05 +08:00 committed by Xiang Xiao
parent acf9e3679e
commit 7abd0a7303

View File

@ -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