forked from M-Labs/zynq-rs
fixes to be removed
This commit is contained in:
parent
ddbeef1284
commit
e5c64550ac
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue