respond to StartStop command with Done immediately

nothing to sync up on eject, since it's all already in RAM.
This commit is contained in:
bunnie 2023-01-15 02:39:03 +08:00
parent 0155306b85
commit f66e53c54a

View file

@ -269,6 +269,10 @@ impl<B: UsbBus, BD: BlockDevice> Scsi<'_, B, BD> {
Done
},
Command::StartStopUnit(_ssu) => {
Done
},
_ => Err(Error::UnhandledOpCode)?,
})
}