mirror of https://github.com/arendst/Tasmota.git
Merge pull request #12274 from s-hadinger/lvgl_remove_warning
LVGL remove compilation warning
This commit is contained in:
commit
6ee612d5e5
|
@ -139,11 +139,12 @@ extern int lvbe_ftell(lvbe_FILE * stream);
|
||||||
extern void *lvbe_malloc(size_t size);
|
extern void *lvbe_malloc(size_t size);
|
||||||
extern void *lvbe_realloc(void *ptr, size_t size);
|
extern void *lvbe_realloc(void *ptr, size_t size);
|
||||||
extern void *lvbe_calloc(size_t num, size_t size);
|
extern void *lvbe_calloc(size_t num, size_t size);
|
||||||
|
extern void lvbe_free(void *ptr);
|
||||||
|
|
||||||
#define ft_scalloc berry_calloc
|
#define ft_scalloc lvbe_calloc
|
||||||
#define ft_sfree free
|
#define ft_sfree lvbe_free
|
||||||
#define ft_smalloc berry_malloc
|
#define ft_smalloc lvbe_malloc
|
||||||
#define ft_srealloc berry_realloc
|
#define ft_srealloc lvbe_realloc
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
|
|
|
@ -317,6 +317,7 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
void *lvbe_malloc(uint32_t size);
|
void *lvbe_malloc(uint32_t size);
|
||||||
void *lvbe_realloc(void *ptr, size_t size);
|
void *lvbe_realloc(void *ptr, size_t size);
|
||||||
|
void *lvbe_calloc(size_t num, size_t size);
|
||||||
#ifdef USE_BERRY_PSRAM
|
#ifdef USE_BERRY_PSRAM
|
||||||
void *lvbe_malloc(uint32_t size) {
|
void *lvbe_malloc(uint32_t size) {
|
||||||
return special_malloc(size);
|
return special_malloc(size);
|
||||||
|
|
Loading…
Reference in New Issue