Merge pull request #144 from erichelgeson/eric/minorFixes

Minor Updates and Fixes
This commit is contained in:
Eric Helgeson 2022-07-16 15:05:34 -05:00 committed by GitHub
commit 16c0cfd57a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View File

@ -11,7 +11,6 @@ upload_protocol = stlink
; Different gcc versions produce much different binaries in terms of speed.
platform_packages = platformio/toolchain-gccarmnoneeabi@1.90301.200702
build_flags =
-w
-DARDUINO_GENERIC_STM32F103C
-DARDUINO_LIB_DISCOVERY_PHASE
-DARDUINO=10813
@ -79,7 +78,6 @@ build_flags =
-D USB_MANUFACTURER="Unknown"
-D USB_PRODUCT="\"BLUEPILL_F103C8\""
-D HAL_PCD_MODULE_ENABLED
-w
-DARDUINO_GENERIC_STM32F103C
-DARDUINO_LIB_DISCOVERY_PHASE
-DARDUINO=10813

View File

@ -117,7 +117,6 @@ SCSI_COMMAND_HANDLER(onModeSelect);
SCSI_COMMAND_HANDLER(onVerify);
SCSI_COMMAND_HANDLER(onReadBuffer);
SCSI_COMMAND_HANDLER(onWriteBuffer);
SCSI_COMMAND_HANDLER(onTestUnitReady);
SCSI_COMMAND_HANDLER(onReZeroUnit);
SCSI_COMMAND_HANDLER(onSendDiagnostic);
SCSI_COMMAND_HANDLER(onReadDefectData);
@ -303,7 +302,7 @@ void setup()
default_hdd.response_format = 1;
default_hdd.additional_length = 31;
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);
// 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.
len = dev->m_blocksize;
}
LED_ON();
verifyDataPhaseSD(dev, adds, len);
LED_OFF();
}
return SCSI_STATUS_GOOD;
}