Skip to content

Conversation

mark9064
Copy link
Member

Currently the timer re-renders the digits every Refresh() cycle. As the digits are large on the display, this causes 100% CPU usage from DisplayApp.
This PR changes the timer to use DirtyValue so it only re-renders the digits when they change.

Copy link

Build size and comparison to main:

Section Size Difference
text 378868B -32B
data 948B 0B
bss 63488B 0B

@JF002 JF002 added this to the 1.15.0 milestone Sep 14, 2024
@JF002 JF002 merged commit fd019c7 into InfiniTimeOrg:main Sep 14, 2024
6 of 7 checks passed
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