Include lv_refr more easily

This commit is contained in:
C47D 2021-06-15 21:01:36 -05:00
parent 0d32432f4c
commit b9cccc342f

View file

@ -19,17 +19,9 @@
#include "driver/i2c.h"
#ifdef LV_LVGL_H_INCLUDE_SIMPLE
#if (LVGL_VERSION_MAJOR < 8)
#include "src/lv_core/lv_refr.h"
#include "lvgl.h"
#else
#include "src/core/lv_refr.h"
#endif
#else
#if (LVGL_VERSION_MAJOR < 8)
#include "lvgl/src/lv_core/lv_refr.h"
#else
#include "lvgl/src/core/lv_refr.h"
#endif
#include "lvgl/lvgl.h"
#endif
/*********************