Hi,
I have two methods to show menu.
Each has a separate group and I call lv_group_create () each time.
Will this not end with a stack overflow?
Should the group be declared globally and created once?
regards
Hi,
I have two methods to show menu.
Each has a separate group and I call lv_group_create () each time.
Will this not end with a stack overflow?
Should the group be declared globally and created once?
regards
I checked it myself.
I (1441) gui: C:/ESP/lvgl/src/lv_misc/lv_mem.c 182 Couldn't allocate memory
I (1441) gui: C:/ESP/lvgl/src/lv_core/lv_group.c 66 lv_group_create
I (1441) gui: C:/ESP/lvgl/src/lv_core/lv_debug.c 167 Out of memory (0x00000000)
I am terrified when I see examples of other people.
You should create the group only once.