fix(arduino): allow including lvgl_private.h even if the examles and demos are in the src folder (#7366)

This commit is contained in:
Gabor Kiss-Vamosi
2024-12-02 21:45:19 +01:00
committed by GitHub
parent 51aadcd87d
commit 8fbf72a1dc
12 changed files with 140 additions and 102 deletions

View File

@@ -37,7 +37,7 @@
#include "../../src/core/lv_global.h"
#if LV_USE_PERF_MONITOR
#include "../../src/display/lv_display_private.h"
#include "../../lvgl_private.h"
#endif
/**********************

View File

@@ -12,7 +12,7 @@
#include "lv_demo_ebike_private.h"
#include "lv_demo_ebike_home.h"
#include "translations/lv_i18n.h"
#include "../../src/lvgl_private.h"
#include "../../lvgl_private.h"
/*********************
* DEFINES

View File

@@ -9,7 +9,7 @@
#include "lv_demo_ebike.h"
#if LV_USE_DEMO_EBIKE
#include "../../src/lvgl_private.h"
#include "../../lvgl_private.h"
#include "translations/lv_i18n.h"
#include "lv_demo_ebike_stats.h"
#include "lv_demo_ebike_private.h"

View File

@@ -13,7 +13,7 @@
#include "lv_demo_music_main.h"
#include "lv_demo_music_list.h"
#if LV_DEMO_MUSIC_AUTO_PLAY && LV_USE_PERF_MONITOR
#include "../../src/display/lv_display_private.h"
#include "../../lvgl_private.h"
#endif
/*********************

View File

@@ -13,7 +13,7 @@
#include "assets/spectrum_1.h"
#include "assets/spectrum_2.h"
#include "assets/spectrum_3.h"
#include "../../src/lvgl_private.h"
#include "../../lvgl_private.h"
/*********************
* DEFINES

View File

@@ -7,7 +7,7 @@
* INCLUDES
*********************/
#include "lv_demo_widgets.h"
#include "../../src/lvgl_private.h"
#include "../../lvgl_private.h"
#if LV_USE_DEMO_WIDGETS