mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
temprarly remove _lv_mem_buf from GC roots to fix build error
This commit is contained in:
parent
68984828c3
commit
de12286304
@ -29,6 +29,9 @@
|
||||
/**********************
|
||||
* STATIC VARIABLES
|
||||
**********************/
|
||||
lv_mem_buf_t _lv_mem_buf[LV_MEM_BUF_MAX_NUM];
|
||||
|
||||
|
||||
#if(!defined(LV_ENABLE_GC)) || LV_ENABLE_GC == 0
|
||||
LV_ROOTS
|
||||
#endif /* LV_ENABLE_GC */
|
||||
|
@ -24,6 +24,7 @@ extern "C" {
|
||||
* DEFINES
|
||||
*********************/
|
||||
|
||||
extern lv_mem_buf_t _lv_mem_buf[LV_MEM_BUF_MAX_NUM];
|
||||
|
||||
#define LV_ITERATE_ROOTS(f) \
|
||||
f(lv_ll_t, _lv_task_ll) /*Linked list to store the lv_tasks*/ \
|
||||
@ -36,7 +37,6 @@ extern "C" {
|
||||
f(lv_ll_t, _lv_img_defoder_ll) \
|
||||
f(lv_img_cache_entry_t*, _lv_img_cache_array) \
|
||||
f(void*, _lv_task_act) \
|
||||
f(lv_mem_buf_t, _lv_mem_buf[LV_MEM_BUF_MAX_NUM]) \
|
||||
|
||||
#define LV_DEFINE_ROOT(root_type, root_name) root_type root_name;
|
||||
#define LV_ROOTS LV_ITERATE_ROOTS(LV_DEFINE_ROOT)
|
||||
|
Loading…
x
Reference in New Issue
Block a user