From 5a403809e99864b76630969be0d903ce7fb67872 Mon Sep 17 00:00:00 2001 From: Victoria Fischer Date: Sun, 7 Dec 2025 13:17:25 +0100 Subject: [PATCH] main: use StaticCell::init_with instead of init --- src/bin/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/main.rs b/src/bin/main.rs index 665defe..87dbd06 100644 --- a/src/bin/main.rs +++ b/src/bin/main.rs @@ -66,7 +66,7 @@ async fn main(spawner: Spawner) { ui_wdt.set_timeout(esp_hal::timer::timg::MwdtStage::Stage0, esp_hal::time::Duration::from_secs(10)); ui_wdt.enable(); - let garage = BUS_GARAGE.init(Default::default()); + let garage = BUS_GARAGE.init_with(|| { Default::default() }); info!("Setting up rendering pipeline"); let mut surfaces = UiSurfacePool::default();