fix(gc): initialize GC if needed (#4269)
This commit is contained in:
@@ -120,6 +120,11 @@ void lv_init(void)
|
|||||||
|
|
||||||
LV_LOG_INFO("begin");
|
LV_LOG_INFO("begin");
|
||||||
|
|
||||||
|
/*First initialize Garbage Collection if needed*/
|
||||||
|
#ifdef LV_GC_INIT
|
||||||
|
LV_GC_INIT();
|
||||||
|
#endif
|
||||||
|
|
||||||
/*Initialize the misc modules*/
|
/*Initialize the misc modules*/
|
||||||
#if LV_USE_BUILTIN_MALLOC
|
#if LV_USE_BUILTIN_MALLOC
|
||||||
lv_mem_init_builtin();
|
lv_mem_init_builtin();
|
||||||
|
|||||||
Reference in New Issue
Block a user