Write
(bus: u8, drive: u8, blk: u32, buffer: &[u8])
| 537 | |
| 538 | // Write |
| 539 | pub fn write(bus: u8, drive: u8, blk: u32, buffer: &[u8]) -> Result<(), ()> |
| 540 | { |
| 541 | let mut buses = BUSES.lock(); |
| 542 | buses[bus as usize].write(drive, blk, buffer) |
| 543 | } |
| 544 | |
| 545 | |
| 546 | // Implementation of fmt::Display for the Drive struct |