1
0
Fork 0

fixes to be removed

This commit is contained in:
Simon Renblad 2024-10-09 17:14:36 +08:00
parent ddbeef1284
commit e5c64550ac
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ use libcortex_a9::{
}; };
use libregister::RegisterR; use libregister::RegisterR;
use libsupport_zynq::ram; use libsupport_zynq::ram;
use log::info; use log::{info, debug};
extern "C" { extern "C" {
static mut __runtime_start: usize; static mut __runtime_start: usize;
@ -103,7 +103,7 @@ pub fn main_core0() {
let sd = match sdio::sd_card::SdCard::from_sdio(sdio0) { let sd = match sdio::sd_card::SdCard::from_sdio(sdio0) {
Ok(sd) => sd, Ok(sd) => sd,
Err(_) => { debug!("failed to get sd card"); panic!() } Err(_) => { debug!("failed to get sd card"); panic!() }
} };
debug!("got sd card"); debug!("got sd card");
let reader = sd_reader::SdReader::new(sd); let reader = sd_reader::SdReader::new(sd);
reader reader