main: emojify boot output

This commit is contained in:
Victoria Fischer 2024-12-14 11:11:38 +01:00
parent 8bb46b6f78
commit 457ae73c50

View File

@ -21,21 +21,23 @@ use crate::geometry::Rectangle;
fn main() {
let mut board: DefaultBoard = Board::take();
log::info!("Board: {}", core::any::type_name_of_val(&board));
log::info!("🐛 Booting Renderbug!");
log::info!("Creating tasks");
log::info!("📡 Board {}", core::any::type_name_of_val(&board));
log::info!("⚙️ Creating tasks");
let mut system = board.system_tasks();
log::info!("System scheduler: {}", core::any::type_name_of_val(&system));
log::info!("System scheduler: {}", core::any::type_name_of_val(&system));
log::info!("Creating output");
log::info!("💡 Creating output");
let output = board.output();
log::info!("Output: {}", core::any::type_name_of_val(&output));
log::info!("Preparing surfaces");
log::info!("🎨 Preparing surfaces");
let mut surfaces = board.surfaces();
log::info!("Surface implementation: {}", core::any::type_name_of_val(&output));
log::info!("Creating animations");
log::info!("🌌 Creating animations");
let mut animations = FixedSizeScheduler::new([
Box::new(animations::IdleTask::new(&mut surfaces)),
Box::new(animations::TestPattern::new(surfaces.new_surface(&Rectangle::everything()).unwrap())),
@ -43,7 +45,7 @@ fn main() {
let mut renderer = FixedSizeScheduler::new([Box::new(Renderer::new(output, surfaces))]);
log::info!("Starting event bus");
log::info!("🚌 Starting event bus");
let mut bus = EventBus::new();
log::info!("Ready to rock and roll");