mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-02 09:37:42 +08:00
fix(mem): for typo in mem pool allocation (#4496)
This commit is contained in:
@@ -80,7 +80,7 @@ void lv_mem_init(void)
|
|||||||
state.tlsf = lv_tlsf_create_with_pool((void *)work_mem_int, LV_MEM_SIZE);
|
state.tlsf = lv_tlsf_create_with_pool((void *)work_mem_int, LV_MEM_SIZE);
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
tlsf = lv_tlsf_create_with_pool((void *)LV_MEM_ADR, LV_MEM_SIZE);
|
state.tlsf = lv_tlsf_create_with_pool((void *)LV_MEM_ADR, LV_MEM_SIZE);
|
||||||
#endif
|
#endif
|
||||||
_lv_ll_init(&state.pool_ll, sizeof(lv_pool_t));
|
_lv_ll_init(&state.pool_ll, sizeof(lv_pool_t));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user