Skip to content

Commit

Permalink
fix(ebike-demo): make it compile with Arduino (lvgl#7397)
Browse files Browse the repository at this point in the history
  • Loading branch information
kisvegabor authored Dec 3, 2024
1 parent b8c5a41 commit df18a5f
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 11 deletions.
6 changes: 1 addition & 5 deletions demos/benchmark/lv_demo_benchmark.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,7 @@
#warning "It's recommended to have at least 128kB RAM for the benchmark"
#endif

#include "../../src/core/lv_global.h"

#if LV_USE_PERF_MONITOR
#include "../../lvgl_private.h"
#endif
#include "../../lvgl_private.h"

/**********************
* DEFINES
Expand Down
2 changes: 1 addition & 1 deletion demos/ebike/translations/lv_i18n.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "./lv_i18n.h"
#include "../../../src/stdlib/lv_string.h"
#include "../../../lvgl.h"

#if LV_USE_DEMO_EBIKE

Expand Down
2 changes: 1 addition & 1 deletion demos/ebike/translations/lv_i18n.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
extern "C" {
#endif

#include "../../../src/lv_conf_internal.h"
#include "../../../lvgl.h"
#if LV_USE_DEMO_EBIKE

#include LV_STDINT_INCLUDE
Expand Down
3 changes: 1 addition & 2 deletions demos/multilang/lv_demo_multilang.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
#include "lv_demo_multilang.h"

#if LV_USE_DEMO_MULTILANG

#include "../../src/indev/lv_indev_scroll.h"
#include "../../lvgl_private.h"

/*********************
* DEFINES
Expand Down
2 changes: 1 addition & 1 deletion demos/render/lv_demo_render.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#if LV_USE_DEMO_RENDER

#include "../../src/core/lv_global.h"
#include "../../lvgl_private.h"

/*********************
* DEFINES
Expand Down
2 changes: 1 addition & 1 deletion examples/porting/osal/lv_example_osal.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "../../lv_examples.h"

#if LV_BUILD_EXAMPLES
#include "../../../src/osal/lv_os.h"
#include "../../../lvgl_private.h"

/*********************
* DEFINES
Expand Down
2 changes: 2 additions & 0 deletions src/indev/lv_indev_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ extern "C" {
*********************/
#include "lv_indev.h"
#include "../misc/lv_anim.h"
#include "lv_indev_scroll.h"

/*********************
* DEFINES
*********************/
Expand Down

0 comments on commit df18a5f

Please sign in to comment.