From 2a07880db271f423d3d82ec87d9e055b975d08ce Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Tue, 6 Apr 2021 13:14:19 +0200 Subject: [PATCH] fix(lv_conf_template.h) remove lv_user_data_t as it's not used --- lv_conf_template.h | 3 --- src/lv_conf_internal.h | 2 -- 2 files changed, 5 deletions(-) diff --git a/lv_conf_template.h b/lv_conf_template.h index 0a493bc12..6d116edea 100644 --- a/lv_conf_template.h +++ b/lv_conf_template.h @@ -206,9 +206,6 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/ #endif /*LV_SPRINTF_CUSTOM*/ #define LV_USE_USER_DATA 1 -#if LV_USE_USER_DATA -typedef void * lv_user_data_t; -#endif /*Garbage Collector settings *Used if lvgl is binded to higher level language and the memory is managed by that language*/ diff --git a/src/lv_conf_internal.h b/src/lv_conf_internal.h index e6b13bbdc..b06911ff6 100644 --- a/src/lv_conf_internal.h +++ b/src/lv_conf_internal.h @@ -561,8 +561,6 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/ # define LV_USE_USER_DATA 1 # endif #endif -#if LV_USE_USER_DATA -#endif /*Garbage Collector settings *Used if lvgl is binded to higher level language and the memory is managed by that language*/