Skip to content

Commit

Permalink
Merge pull request #144 from erichelgeson/eric/minorFixes
Browse files Browse the repository at this point in the history
Minor Updates and Fixes
  • Loading branch information
erichelgeson committed Jul 16, 2022
2 parents 2a95bc3 + 40e4590 commit 16c0cfd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
5 changes: 1 addition & 4 deletions src/BlueSCSI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 16c0cfd

Please sign in to comment.