diff --git a/src/lv_conf_internal.h b/src/lv_conf_internal.h index ea41b0720..064917cad 100644 --- a/src/lv_conf_internal.h +++ b/src/lv_conf_internal.h @@ -10,6 +10,12 @@ #include +#if defined __has_include +# if __has_include("lv_conf.h") +# define LV_CONF_INCLUDE_SIMPLE +# endif +#endif + /*If lv_conf.h is not skipped include it*/ #if !defined(LV_CONF_SKIP) && !defined(CONFIG_LV_CONF_SKIP) # if defined(LV_CONF_PATH) /*If there is a path defined for lv_conf.h use it*/