Skip to content

Commit b9cccc3

Browse files
committed
Include lv_refr more easily
1 parent 0d32432 commit b9cccc3

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

lvgl_helpers.c

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,9 @@
1919
#include "driver/i2c.h"
2020

2121
#ifdef LV_LVGL_H_INCLUDE_SIMPLE
22-
#if (LVGL_VERSION_MAJOR < 8)
23-
#include "src/lv_core/lv_refr.h"
24-
#else
25-
#include "src/core/lv_refr.h"
26-
#endif
22+
#include "lvgl.h"
2723
#else
28-
#if (LVGL_VERSION_MAJOR < 8)
29-
#include "lvgl/src/lv_core/lv_refr.h"
30-
#else
31-
#include "lvgl/src/core/lv_refr.h"
32-
#endif
24+
#include "lvgl/lvgl.h"
3325
#endif
3426

3527
/*********************

0 commit comments

Comments
 (0)