Skip to content

add ifdef for include simple lvgl.h#140

Merged
kisvegabor merged 1 commit intolvgl:masterfrom
giobauermeister:add_include_simple_def
Sep 5, 2025
Merged

add ifdef for include simple lvgl.h#140
kisvegabor merged 1 commit intolvgl:masterfrom
giobauermeister:add_include_simple_def

Conversation

@giobauermeister
Copy link
Copy Markdown
Collaborator

@giobauermeister giobauermeister commented Aug 29, 2025

Here is the only place in the Editor examples project that has only #include "lvgl/lvgl.h" and not the include simple option. Shouldn't it have the include simple ifdef as well?


Summary by cubic

Add LV_LVGL_H_INCLUDE_SIMPLE guard to examples/ui.h to support both include styles: lvgl.h when simple include is enabled, otherwise lvgl/lvgl.h. This fixes builds that define LV_LVGL_H_INCLUDE_SIMPLE and aligns the file with the rest of the project.

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Copy link
Copy Markdown
Member

@kisvegabor kisvegabor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That internal editor version generates it correctly, but I merge this for the time being.

Thank you!

@kisvegabor kisvegabor merged commit 9d28838 into lvgl:master Sep 5, 2025
4 checks passed
kisvegabor pushed a commit that referenced this pull request Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants