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

docs(tick): simplify and promote lv_tick_set_cb #5781

Merged
merged 2 commits into from Mar 10, 2024
Merged

docs(tick): simplify and promote lv_tick_set_cb #5781

merged 2 commits into from Mar 10, 2024

Conversation

kisvegabor
Copy link
Member

Description of the feature or fix

A clear and concise description of what the bug or new feature is.

Notes

@LeCyberDucky
Copy link

In case you also want an example for the ESP32 (since you have the STM32 example), I think this should do the trick:
lv_tick_set_cb([]-> uint32_t{ return esp_timer_get_time()/1000; });

FASTSHIFT
FASTSHIFT previously approved these changes Mar 4, 2024
@kisvegabor
Copy link
Member Author

lv_tick_set_cb([]-> uint32_t{ return esp_timer_get_time()/1000; });

Anonymus functions are not C standard, but I pushed an update to mention esp_timer_get_time.

@FASTSHIFT FASTSHIFT merged commit 803ec3e into master Mar 10, 2024
16 checks passed
@kisvegabor kisvegabor deleted the docs/tick branch March 11, 2024 14:16
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.

None yet

5 participants