From e5c64550ac9dee5fa0ee35c0fec03e84691de094 Mon Sep 17 00:00:00 2001 From: Simon Renblad Date: Wed, 9 Oct 2024 17:14:36 +0800 Subject: [PATCH] fixes to be removed --- szl/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/szl/src/main.rs b/szl/src/main.rs index 7c4abcc..d93c374 100644 --- a/szl/src/main.rs +++ b/szl/src/main.rs @@ -24,7 +24,7 @@ use libcortex_a9::{ }; use libregister::RegisterR; use libsupport_zynq::ram; -use log::info; +use log::{info, debug}; extern "C" { static mut __runtime_start: usize; @@ -103,7 +103,7 @@ pub fn main_core0() { let sd = match sdio::sd_card::SdCard::from_sdio(sdio0) { Ok(sd) => sd, Err(_) => { debug!("failed to get sd card"); panic!() } - } + }; debug!("got sd card"); let reader = sd_reader::SdReader::new(sd); reader