diff --git a/loader/src/platform/cramium/bootlogo.rs b/loader/src/platform/cramium/bootlogo.rs index c270ff730..c8e8d1d8b 100644 --- a/loader/src/platform/cramium/bootlogo.rs +++ b/loader/src/platform/cramium/bootlogo.rs @@ -1,5 +1,4 @@ -use cramium_hal::sh1107::{Mono, Oled128x128}; -use ux_api::minigfx::{FrameBuffer, Point}; +use cramium_hal::sh1107::Oled128x128; pub fn show_logo(sh1107: &mut Oled128x128) { /* // pattern test for debugging pixel orientations - done with this now, I think? @@ -18,11 +17,5 @@ pub fn show_logo(sh1107: &mut Oled128x128) { crate::println!("oled test end"); */ sh1107.buffer_mut().fill(0); - for (i, &word) in ux_api::bitmaps::baochip128x128::BITMAP.iter().enumerate() { - for bit in 0..32 { - if (word & (1 << (31 - bit))) != 0 { - sh1107.put_pixel(Point::new((i as isize % 4) * 32 + bit, i as isize / 4), Mono::White.into()); - } - } - } + sh1107.blit_screen(&ux_api::bitmaps::baochip128x128::BITMAP); }