mirror of
https://github.com/erichelgeson/BlueSCSI.git
synced 2025-01-20 07:30:18 +00:00
Merge pull request #144 from erichelgeson/eric/minorFixes
Minor Updates and Fixes
This commit is contained in:
commit
16c0cfd57a
@ -11,7 +11,6 @@ upload_protocol = stlink
|
|||||||
; Different gcc versions produce much different binaries in terms of speed.
|
; Different gcc versions produce much different binaries in terms of speed.
|
||||||
platform_packages = platformio/toolchain-gccarmnoneeabi@1.90301.200702
|
platform_packages = platformio/toolchain-gccarmnoneeabi@1.90301.200702
|
||||||
build_flags =
|
build_flags =
|
||||||
-w
|
|
||||||
-DARDUINO_GENERIC_STM32F103C
|
-DARDUINO_GENERIC_STM32F103C
|
||||||
-DARDUINO_LIB_DISCOVERY_PHASE
|
-DARDUINO_LIB_DISCOVERY_PHASE
|
||||||
-DARDUINO=10813
|
-DARDUINO=10813
|
||||||
@ -79,7 +78,6 @@ build_flags =
|
|||||||
-D USB_MANUFACTURER="Unknown"
|
-D USB_MANUFACTURER="Unknown"
|
||||||
-D USB_PRODUCT="\"BLUEPILL_F103C8\""
|
-D USB_PRODUCT="\"BLUEPILL_F103C8\""
|
||||||
-D HAL_PCD_MODULE_ENABLED
|
-D HAL_PCD_MODULE_ENABLED
|
||||||
-w
|
|
||||||
-DARDUINO_GENERIC_STM32F103C
|
-DARDUINO_GENERIC_STM32F103C
|
||||||
-DARDUINO_LIB_DISCOVERY_PHASE
|
-DARDUINO_LIB_DISCOVERY_PHASE
|
||||||
-DARDUINO=10813
|
-DARDUINO=10813
|
||||||
|
@ -117,7 +117,6 @@ SCSI_COMMAND_HANDLER(onModeSelect);
|
|||||||
SCSI_COMMAND_HANDLER(onVerify);
|
SCSI_COMMAND_HANDLER(onVerify);
|
||||||
SCSI_COMMAND_HANDLER(onReadBuffer);
|
SCSI_COMMAND_HANDLER(onReadBuffer);
|
||||||
SCSI_COMMAND_HANDLER(onWriteBuffer);
|
SCSI_COMMAND_HANDLER(onWriteBuffer);
|
||||||
SCSI_COMMAND_HANDLER(onTestUnitReady);
|
|
||||||
SCSI_COMMAND_HANDLER(onReZeroUnit);
|
SCSI_COMMAND_HANDLER(onReZeroUnit);
|
||||||
SCSI_COMMAND_HANDLER(onSendDiagnostic);
|
SCSI_COMMAND_HANDLER(onSendDiagnostic);
|
||||||
SCSI_COMMAND_HANDLER(onReadDefectData);
|
SCSI_COMMAND_HANDLER(onReadDefectData);
|
||||||
@ -303,7 +302,7 @@ void setup()
|
|||||||
default_hdd.response_format = 1;
|
default_hdd.response_format = 1;
|
||||||
default_hdd.additional_length = 31;
|
default_hdd.additional_length = 31;
|
||||||
memcpy(&default_hdd.vendor, "QUANTUM", 7);
|
memcpy(&default_hdd.vendor, "QUANTUM", 7);
|
||||||
memcpy(&default_hdd.product, "FIREBALL1", 9);
|
memcpy(&default_hdd.product, "BLUESCSI F1", 11);
|
||||||
memcpy(&default_hdd.revision, "1.0", 3);
|
memcpy(&default_hdd.revision, "1.0", 3);
|
||||||
|
|
||||||
// default SCSI CDROM
|
// default SCSI CDROM
|
||||||
@ -1158,9 +1157,7 @@ byte onVerify(SCSI_DEVICE *dev, const byte *cdb)
|
|||||||
// Data-Out buffer is single logical block for repeated verification.
|
// Data-Out buffer is single logical block for repeated verification.
|
||||||
len = dev->m_blocksize;
|
len = dev->m_blocksize;
|
||||||
}
|
}
|
||||||
LED_ON();
|
|
||||||
verifyDataPhaseSD(dev, adds, len);
|
verifyDataPhaseSD(dev, adds, len);
|
||||||
LED_OFF();
|
|
||||||
}
|
}
|
||||||
return SCSI_STATUS_GOOD;
|
return SCSI_STATUS_GOOD;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user