diff --git a/scripts/lv_conf_checker.py b/scripts/lv_conf_checker.py index f83607958..d7cdaa2a4 100755 --- a/scripts/lv_conf_checker.py +++ b/scripts/lv_conf_checker.py @@ -42,11 +42,6 @@ fout.write( # define LV_CONF_INCLUDE_SIMPLE # endif # endif -# if __has_include("lvgl.h") -# ifndef LV_LVGL_H_INCLUDE_SIMPLE -# define LV_LVGL_H_INCLUDE_SIMPLE -# endif -# endif #endif /*If lv_conf.h is not skipped include it*/ diff --git a/src/lv_conf_internal.h b/src/lv_conf_internal.h index 5632b41e6..b06911ff6 100644 --- a/src/lv_conf_internal.h +++ b/src/lv_conf_internal.h @@ -25,11 +25,6 @@ # define LV_CONF_INCLUDE_SIMPLE # endif # endif -# if __has_include("lvgl.h") -# ifndef LV_LVGL_H_INCLUDE_SIMPLE -# define LV_LVGL_H_INCLUDE_SIMPLE -# endif -# endif #endif /*If lv_conf.h is not skipped include it*/