mirror of
https://github.com/LegitCamper/picocalc-os-rs.git
synced 2026-02-10 22:15:24 +00:00
simplify display use
This commit is contained in:
@@ -12,11 +12,11 @@ use embedded_hal_bus::spi::ExclusiveDevice;
|
|||||||
use st7365p_lcd::ST7365P;
|
use st7365p_lcd::ST7365P;
|
||||||
|
|
||||||
#[cfg(feature = "psram")]
|
#[cfg(feature = "psram")]
|
||||||
use crate::heap::HEAP;
|
use {
|
||||||
#[cfg(feature = "psram")]
|
crate::heap::HEAP,
|
||||||
use core::alloc::{GlobalAlloc, Layout};
|
core::alloc::{GlobalAlloc, Layout},
|
||||||
#[cfg(feature = "psram")]
|
embedded_graphics::{draw_target::DrawTarget, pixelcolor::Rgb565, prelude::RgbColor},
|
||||||
use embedded_graphics::{draw_target::DrawTarget, pixelcolor::Rgb565, prelude::RgbColor};
|
};
|
||||||
|
|
||||||
#[cfg(feature = "fps")]
|
#[cfg(feature = "fps")]
|
||||||
pub use framebuffer::fps::{FPS_CANVAS, FPS_COUNTER};
|
pub use framebuffer::fps::{FPS_CANVAS, FPS_COUNTER};
|
||||||
|
|||||||
Reference in New Issue
Block a user