From bf2d1c60770a5f3073c6b30ba0658b19315fb75a Mon Sep 17 00:00:00 2001 From: Victoria Fischer Date: Sat, 14 Mar 2026 14:17:50 +0100 Subject: [PATCH] tasks: oled_render: reduce fps to 15 --- src/tasks/oled_render.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tasks/oled_render.rs b/src/tasks/oled_render.rs index 7774ec6..6e8c7c1 100644 --- a/src/tasks/oled_render.rs +++ b/src/tasks/oled_render.rs @@ -12,7 +12,7 @@ use crate::{backoff::Backoff, graphics::ssd1306::SsdOutput, tasks::oled::{Locked pub async fn oled_render(mut output: SsdOutput, mut surfaces: OledUiSurfacePool, uniforms: LockedUniforms) { warn!("Starting OLED rendering task"); Backoff::from_secs(1).forever().attempt::<_, (), DisplayError>(async || { - const FPS: u64 = 30; + const FPS: u64 = 15; const RENDER_BUDGET: Duration = Duration::from_millis(1000 / FPS); const ANIMATION_TPS: u64 = 30;