mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
fix(gc): initialize GC if needed (#4269)
This commit is contained in:
parent
06b3b62475
commit
0e56d0124f
@ -120,6 +120,11 @@ void lv_init(void)
|
||||
|
||||
LV_LOG_INFO("begin");
|
||||
|
||||
/*First initialize Garbage Collection if needed*/
|
||||
#ifdef LV_GC_INIT
|
||||
LV_GC_INIT();
|
||||
#endif
|
||||
|
||||
/*Initialize the misc modules*/
|
||||
#if LV_USE_BUILTIN_MALLOC
|
||||
lv_mem_init_builtin();
|
||||
|
Loading…
x
Reference in New Issue
Block a user