From 531c31d190d484005f7f968cb317b1beb07860da Mon Sep 17 00:00:00 2001 From: Victoria Fischer Date: Sun, 7 Dec 2025 13:17:44 +0100 Subject: [PATCH] main: clean up use statements --- src/bin/main.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bin/main.rs b/src/bin/main.rs index 87dbd06..f7ddc9c 100644 --- a/src/bin/main.rs +++ b/src/bin/main.rs @@ -6,21 +6,21 @@ holding buffers for the duration of a data transfer." )] + use core::ptr::addr_of_mut; use alloc::sync::Arc; use embassy_executor::Spawner; use embassy_time::{Instant, Timer}; -use esp_hal::{gpio::{Output, OutputConfig}, time::Rate}; +use esp_hal::{gpio::{Output, OutputConfig, Pin}, time::Rate}; use esp_hal::{ - clock::CpuClock, interrupt::software::SoftwareInterruptControl, system::{AppCoreGuard, CpuControl, Stack}, timer::{systimer::SystemTimer, timg::{TimerGroup, Wdt}}, - gpio::Pin + clock::CpuClock, system::{AppCoreGuard, CpuControl, Stack}, timer::{systimer::SystemTimer, timg::{TimerGroup, Wdt}} }; use esp_hal_embassy::{Executor, InterruptExecutor}; use log::*; -use renderbug_embassy::{logging::RenderbugLogger, tasks::{oled::{oled_ui, OledUI, OledUiSurfacePool}, safetyui::{safety_ui_main, SafetyUi}, ui::UiSurfacePool}}; +use renderbug_embassy::{logging::RenderbugLogger, tasks::{oled::{OledUI, OledUiSurfacePool, oled_ui}, safetyui::{SafetyUi, safety_ui_main}, ui::UiSurfacePool}}; use renderbug_embassy::events::BusGarage; use static_cell::StaticCell; use esp_backtrace as _; @@ -30,7 +30,6 @@ use renderbug_embassy::tasks::{ ui::{Ui, ui_main} }; -use figments_render::output::OutputAsync; extern crate alloc; @@ -39,6 +38,7 @@ extern crate alloc; esp_bootloader_esp_idf::esp_app_desc!(); static STATIC_HI_EXEC: StaticCell> = StaticCell::new(); +static CORE2_EXEC: StaticCell = StaticCell::new(); static BUS_GARAGE: StaticCell = StaticCell::new(); static mut CORE2_STACK: Stack<16384> = Stack::new();