Revert "feat(conf) automatically enable LV_LVGL_H_INCLUDE_SIMPLE if lvgl.h can be included"
This reverts commit a995695cdf.
__has_include("lvgl.h") is always true beacsue it's next to lv_conf_internal.h.
This commit is contained in:
@@ -42,11 +42,6 @@ fout.write(
|
|||||||
# define LV_CONF_INCLUDE_SIMPLE
|
# define LV_CONF_INCLUDE_SIMPLE
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
# if __has_include("lvgl.h")
|
|
||||||
# ifndef LV_LVGL_H_INCLUDE_SIMPLE
|
|
||||||
# define LV_LVGL_H_INCLUDE_SIMPLE
|
|
||||||
# endif
|
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*If lv_conf.h is not skipped include it*/
|
/*If lv_conf.h is not skipped include it*/
|
||||||
|
|||||||
@@ -25,11 +25,6 @@
|
|||||||
# define LV_CONF_INCLUDE_SIMPLE
|
# define LV_CONF_INCLUDE_SIMPLE
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
# if __has_include("lvgl.h")
|
|
||||||
# ifndef LV_LVGL_H_INCLUDE_SIMPLE
|
|
||||||
# define LV_LVGL_H_INCLUDE_SIMPLE
|
|
||||||
# endif
|
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*If lv_conf.h is not skipped include it*/
|
/*If lv_conf.h is not skipped include it*/
|
||||||
|
|||||||
Reference in New Issue
Block a user