mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-28 05:37:15 +00:00
update main app for start stop unit
This commit is contained in:
parent
f5b2912372
commit
a9c04e9ff1
@ -94,11 +94,11 @@ int32_t tud_msc_scsi_cb (uint8_t lun, uint8_t const scsi_cmd[16], void* buffer,
|
|||||||
len = 0;
|
len = 0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// case SCSI_CMD_START_STOP_UNIT:
|
case SCSI_CMD_START_STOP_UNIT:
|
||||||
// // Host try to eject/safe remove/powerof us. We could safely disconnect with disk storage, or go into lower power
|
// Host try to eject/safe remove/powerof us. We could safely disconnect with disk storage, or go into lower power
|
||||||
// // scsi_start_stop_unit_t const * cmd_start_stop = (scsi_start_stop_unit_t const *) scsi_cmd
|
// scsi_start_stop_unit_t const * cmd_start_stop = (scsi_start_stop_unit_t const *) scsi_cmd
|
||||||
// len = 0;
|
len = 0;
|
||||||
// break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
// negative is error -> Data stage is STALL, status = failed
|
// negative is error -> Data stage is STALL, status = failed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user