Skip to content

Commit c487a1a

Browse files
jonathanpallanteldruin
authored andcommitted
Move some debug.
1 parent d1344ea commit c487a1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sdcard/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,6 @@ where
448448
}
449449
delay.delay(Error::TimeoutCommand(CMD8))?;
450450
};
451-
debug!("Card version: {:?}", card_type);
452451

453452
let mut delay = Delay::new();
454453
while s.card_acmd(ACMD41, arg)? != R1_READY_STATE {
@@ -467,6 +466,7 @@ where
467466
s.receive()?;
468467
s.receive()?;
469468
}
469+
debug!("Card version: {:?}", card_type);
470470
s.card_type = Some(card_type);
471471
Ok(())
472472
};

0 commit comments

Comments
 (0)