Skip to content

Let LVGL control queueTimeout#623

Merged
JF002 merged 2 commits intoInfiniTimeOrg:developfrom
Riksu9000:lvgl_queuetimeout
Oct 3, 2021
Merged

Let LVGL control queueTimeout#623
JF002 merged 2 commits intoInfiniTimeOrg:developfrom
Riksu9000:lvgl_queuetimeout

Conversation

@Riksu9000
Copy link
Contributor

lv_task_handler() returns the time in ticks to the next task it needs to run.

This can now be used now that DisplayApp isn't locked to a certain refresh period to refresh apps consistently. #497

Using this time as the queueTimeout is more accurate, as messages can still cause slight delays. This also makes it possible to have tasks that run even more often than the refresh period.

Copy link
Member

@geekbozu geekbozu left a comment

Choose a reason for hiding this comment

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

Much cleaner and uses the proper FreeRTOS workflows.
Good job as always riksu9000!

@hubmartin
Copy link
Contributor

Tested for few minutes, tried all apps and no issues. Great work Riksu.

@JF002
Copy link
Collaborator

JF002 commented Oct 3, 2021

LVGL integration becomes more and more clean and efficient, thanks, @Riksu9000 !

@JF002 JF002 added this to the 1.7.0 milestone Oct 3, 2021
@JF002 JF002 merged commit b84a546 into InfiniTimeOrg:develop Oct 3, 2021
@Riksu9000 Riksu9000 deleted the lvgl_queuetimeout branch October 3, 2021 14:42
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.

4 participants