add parameter to print_block because i don't know why that wasn't already the case
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
parent
ab79782a78
commit
519633b769
@ -322,7 +322,7 @@ impl ATABus {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pub async fn print_block() {
|
pub async fn print_block(lba: u32) {
|
||||||
let block = DRIVE.lock().await.as_mut().unwrap().read_block(500).await;
|
let block = DRIVE.lock().await.as_mut().unwrap().read_block(lba).await;
|
||||||
serial_println!("{:x?}", block);
|
serial_println!("{:x?}", block);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user