Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LVGL 'label' widget's generated code issue #705

Open
GCTechnology opened this issue Jan 18, 2025 · 0 comments
Open

LVGL 'label' widget's generated code issue #705

GCTechnology opened this issue Jan 18, 2025 · 0 comments
Assignees
Labels
Milestone

Comments

@GCTechnology
Copy link

Describe the bug
LVGL 'label' widget's generated code does not look right while binding with an integer variable.

To Reproduce
Steps to reproduce the behavior:

  1. Create an integer variable.
    Image

  2. Create a 'label' widget.
    Image

  3. Bind the variable with the Label widget.
    Image

  4. Build and generate code.

  5. Inside the code:
    Image

get_var_light_value_pre is 'int32' type, and const char *new_val is a 'char *' type, which is not correct.

The code should be look like:
Image

Desktop (please complete the following information):

  • OS: Windows
  • Version 10 22H2

** LVGL version (if used)**

  • 8.x
@mvladic mvladic added this to the 0.22.0 milestone Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants