From 84185c62b00c908723b5777f839c2b55d2075135 Mon Sep 17 00:00:00 2001 From: sawyer bristol Date: Wed, 21 Jan 2026 19:47:21 -0700 Subject: [PATCH] simplify display use --- kernel/src/display.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/src/display.rs b/kernel/src/display.rs index cca521b..3c151f6 100644 --- a/kernel/src/display.rs +++ b/kernel/src/display.rs @@ -12,11 +12,11 @@ use embedded_hal_bus::spi::ExclusiveDevice; use st7365p_lcd::ST7365P; #[cfg(feature = "psram")] -use crate::heap::HEAP; -#[cfg(feature = "psram")] -use core::alloc::{GlobalAlloc, Layout}; -#[cfg(feature = "psram")] -use embedded_graphics::{draw_target::DrawTarget, pixelcolor::Rgb565, prelude::RgbColor}; +use { + crate::heap::HEAP, + core::alloc::{GlobalAlloc, Layout}, + embedded_graphics::{draw_target::DrawTarget, pixelcolor::Rgb565, prelude::RgbColor}, +}; #[cfg(feature = "fps")] pub use framebuffer::fps::{FPS_CANVAS, FPS_COUNTER};