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*/