mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-29 22:26:37 +00:00
Allow LV_MEM_CUSTOM override
This commit is contained in:
parent
2bbc2c53c1
commit
66fe185bfe
@ -80,8 +80,10 @@ typedef int16_t lv_coord_t;
|
|||||||
#define LV_FS_SEEK(x, y) lv_fs_seek(x, y)
|
#define LV_FS_SEEK(x, y) lv_fs_seek(x, y)
|
||||||
#define _lv_img_decoder_t _lv_img_decoder
|
#define _lv_img_decoder_t _lv_img_decoder
|
||||||
|
|
||||||
|
#ifndef LV_MEM_CUSTOM
|
||||||
/* 1: use custom malloc/free, 0: use the built-in `lv_mem_alloc` and `lv_mem_free` */
|
/* 1: use custom malloc/free, 0: use the built-in `lv_mem_alloc` and `lv_mem_free` */
|
||||||
#define LV_MEM_CUSTOM 0
|
#define LV_MEM_CUSTOM 0
|
||||||
|
#endif
|
||||||
#if LV_MEM_CUSTOM == 0
|
#if LV_MEM_CUSTOM == 0
|
||||||
/* Size of the memory used by `lv_mem_alloc` in bytes (>= 2kB)*/
|
/* Size of the memory used by `lv_mem_alloc` in bytes (>= 2kB)*/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user