1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

fix(nuttx): fix uninitialized variables (#4848)

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
_VIFEXTech 2023-11-22 22:40:45 +08:00 committed by GitHub
parent 296c1df302
commit bf1d0d3235
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,6 +88,8 @@ void lv_nuttx_init(const lv_nuttx_dsc_t * dsc, lv_nuttx_result_t * result)
#endif
lv_tick_set_cb(millis);
lv_memzero(result, sizeof(lv_nuttx_result_t));
#if !LV_USE_NUTTX_CUSTOM_INIT
if(dsc && dsc->fb_path) {