Skip to content

Commit a35d041

Browse files
committed
Fix compat with latest lvgl
Signed-off-by: falkTX <[email protected]>
1 parent f44cca6 commit a35d041

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

generic/LVGL.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ START_NAMESPACE_DGL
4646
# error LV_DEF_REFR_PERIOD must be 1 for DPF builds
4747
#endif
4848

49+
#if defined(LV_USE_PRIVATE_API) && !LV_USE_PRIVATE_API
50+
# error LV_USE_PRIVATE_API must be set to 1 for DPF builds
51+
#endif
52+
4953
#if LV_USE_STDLIB_MALLOC != LV_STDLIB_CLIB
5054
# error LV_USE_STDLIB_MALLOC must be LV_STDLIB_CLIB for DPF builds
5155
#endif

0 commit comments

Comments
 (0)