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

lv_task_create does not exist in v8.0 #127

Open
grarup opened this issue Jun 3, 2021 · 2 comments
Open

lv_task_create does not exist in v8.0 #127

grarup opened this issue Jun 3, 2021 · 2 comments
Assignees
Labels
pinned Do not mark as stale automatically

Comments

@grarup
Copy link

grarup commented Jun 3, 2021

win_drv.c uses the function lv_task_create which does not exist in lvgl v8.0

@embeddedt
Copy link
Member

I recommend using https://github.com/lvgl/lv_drivers/blob/master/win32drv/win32drv.c if possible, as its features are a superset of win_drv.c. I don't think it has this issue.

However, I will still fix win_drv.c when I can. It essentially needs an #if check like this to be added:

#if LV_VERSION_CHECK(8, 0, 0)
lv_timer_create(lv_win32_message_handler, 0, NULL);
#else
lv_task_create(lv_win32_message_handler, 0, LV_TASK_PRIO_HIGHEST, NULL);
#endif

@embeddedt embeddedt self-assigned this Jun 3, 2021
@stale
Copy link

stale bot commented Jun 26, 2021

This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 26, 2021
@embeddedt embeddedt added pinned Do not mark as stale automatically and removed stale labels Jul 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pinned Do not mark as stale automatically
Projects
None yet
Development

No branches or pull requests

2 participants