diff --git a/include/lv_conf_v7.h b/include/lv_conf_v7.h index 606203cc..20ad2966 100644 --- a/include/lv_conf_v7.h +++ b/include/lv_conf_v7.h @@ -116,8 +116,8 @@ typedef int16_t lv_coord_t; # define LV_MEM_AUTO_DEFRAG 1 #else /*LV_MEM_CUSTOM*/ #define LV_MEM_CUSTOM_INCLUDE /*Header for the dynamic memory function*/ -#define LV_MEM_CUSTOM_ALLOC malloc /*Wrapper to malloc*/ -#define LV_MEM_CUSTOM_FREE free /*Wrapper to free*/ +#define LV_MEM_CUSTOM_ALLOC hasp_malloc /*Wrapper to malloc*/ +#define LV_MEM_CUSTOM_FREE hasp_free /*Wrapper to free*/ #endif /*LV_MEM_CUSTOM*/ #ifndef LV_VDB_SIZE diff --git a/include/lv_conf_v8.h b/include/lv_conf_v8.h index 494982d7..78bfb3ed 100644 --- a/include/lv_conf_v8.h +++ b/include/lv_conf_v8.h @@ -105,8 +105,8 @@ typedef int16_t lv_coord_t; # define LV_MEM_AUTO_DEFRAG 1 #else /*LV_MEM_CUSTOM*/ # define LV_MEM_CUSTOM_INCLUDE /*Header for the dynamic memory function*/ -# define LV_MEM_CUSTOM_ALLOC malloc /*Wrapper to malloc*/ -# define LV_MEM_CUSTOM_FREE free /*Wrapper to free*/ +# define LV_MEM_CUSTOM_ALLOC hasp_malloc /*Wrapper to malloc*/ +# define LV_MEM_CUSTOM_FREE hasp_free /*Wrapper to free*/ #endif /*LV_MEM_CUSTOM*/ /* Use the standard memcpy and memset instead of LVGL's own functions.