Skip to content

Commit d7f9a03

Browse files
committed
path for lv_refr.h needs to vary based on LV_LVGL_H_INCLUDE_SIMPLE
1 parent 8cd600d commit d7f9a03

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lvgl_helpers.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@
1818

1919
#include "driver/i2c.h"
2020

21+
#ifdef LV_LVGL_H_INCLUDE_SIMPLE
22+
#include "src/lv_core/lv_refr.h"
23+
#else
2124
#include "lvgl/src/lv_core/lv_refr.h"
25+
#endif
2226

2327
/*********************
2428
* DEFINES

0 commit comments

Comments
 (0)