Tweak write protect SCSI sense code

USG_1.0
Robert Fisk 8 years ago
parent 3a94c2c863
commit 2cd86a7201

@ -777,7 +777,7 @@ void SCSI_Write10BeginCallback(HAL_StatusTypeDef result)
{ {
SCSI_SenseCode(SCSI_ProcessCmd_pdev, SCSI_SenseCode(SCSI_ProcessCmd_pdev,
SCSI_ProcessCmd_lun, SCSI_ProcessCmd_lun,
NOT_READY, DATA_PROTECT,
WRITE_PROTECTED); WRITE_PROTECTED);
SCSI_ProcessCmd_callback(-1); SCSI_ProcessCmd_callback(-1);
return; return;

Loading…
Cancel
Save