From cfc2a27e13b2d0d255599f75cbca732dfd3b746e Mon Sep 17 00:00:00 2001 From: bunnie Date: Wed, 29 May 2024 14:06:21 +0800 Subject: [PATCH] cleanup cram-console debug --- services/cram-console/src/main.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/services/cram-console/src/main.rs b/services/cram-console/src/main.rs index eccf47160..a11477790 100644 --- a/services/cram-console/src/main.rs +++ b/services/cram-console/src/main.rs @@ -18,9 +18,6 @@ pub(crate) enum StatusOpcode { Quit, } -// TODO: -// - clean up the mess here - fn main() { log_server::init_wait().unwrap(); log::set_max_level(log::LevelFilter::Info); @@ -28,6 +25,7 @@ fn main() { #[cfg(feature = "hwtest")] hwtest::hwtest(); + #[cfg(feature = "early-ball")] thread::spawn(move || { let mut count = 0; loop { @@ -107,7 +105,6 @@ fn main() { ), ) .unwrap(); - log::trace!("status redraw## initial"); gam.redraw().unwrap(); // initial boot redraw // ------------------ start a 'gutter' thread to handle incoming events while we go through the