Skip to content

fw/applib/animation: reduce render frame rate on sf32lb52#1050

Open
jplexer wants to merge 1 commit intocoredevices:mainfrom
jplexer:decouple-animation-frame-rate
Open

fw/applib/animation: reduce render frame rate on sf32lb52#1050
jplexer wants to merge 1 commit intocoredevices:mainfrom
jplexer:decouple-animation-frame-rate

Conversation

@jplexer
Copy link
Copy Markdown
Member

@jplexer jplexer commented Mar 30, 2026

Add a separate ANIMATION_FRAME_RENDER_INTERVAL_MS that controls how often frames are rendered, while keeping ANIMATION_TARGET_FRAME_INTERVAL_MS for animation duration calculations.

On SF32LB52 at 144 MHz, target 20 Hz instead of 30 Hz to give each frame more CPU time and reduce jitter.

Add a separate ANIMATION_FRAME_RENDER_INTERVAL_MS that controls how
often frames are rendered, while keeping ANIMATION_TARGET_FRAME_INTERVAL_MS
for animation duration calculations.

On SF32LB52 at 144 MHz, target 20 Hz instead of 30 Hz to give each
frame more CPU time and reduce jitter.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Joshua Jun <lets@throw.rocks>
@gmarull
Copy link
Copy Markdown
Member

gmarull commented Apr 8, 2026

this may be made dynamic, and can now be tested with the powermode service

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