mirror of https://github.com/arendst/Tasmota.git
LVGL remove compilation warning
This commit is contained in:
parent
89d790de5c
commit
3f07132e0f
|
@ -140,10 +140,10 @@ extern void *lvbe_malloc(size_t size);
|
|||
extern void *lvbe_realloc(void *ptr, size_t size);
|
||||
extern void *lvbe_calloc(size_t num, size_t size);
|
||||
|
||||
#define ft_scalloc berry_calloc
|
||||
#define ft_sfree free
|
||||
#define ft_smalloc berry_malloc
|
||||
#define ft_srealloc berry_realloc
|
||||
#define ft_scalloc lvbe_calloc
|
||||
#define ft_sfree lvbe_free
|
||||
#define ft_smalloc lvbe_malloc
|
||||
#define ft_srealloc lvbe_realloc
|
||||
|
||||
|
||||
/**************************************************************************
|
||||
|
|
|
@ -317,6 +317,7 @@ extern "C" {
|
|||
*/
|
||||
void *lvbe_malloc(uint32_t size);
|
||||
void *lvbe_realloc(void *ptr, size_t size);
|
||||
void *lvbe_calloc(size_t num, size_t size);
|
||||
#ifdef USE_BERRY_PSRAM
|
||||
void *lvbe_malloc(uint32_t size) {
|
||||
return special_malloc(size);
|
||||
|
|
Loading…
Reference in New Issue