Skip to content

Commit

Permalink
Merge pull request erichelgeson#183 from mynameistroy/troy/myst_fix
Browse files Browse the repository at this point in the history
Fix for incorrect response to READ_DVD_STRUCTURE
  • Loading branch information
erichelgeson authored and androda committed Dec 20, 2022
1 parent 13b7914 commit ff20a1c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions F4_BlueSCSI/F4_BlueSCSI.ino
Original file line number Diff line number Diff line change
Expand Up @@ -692,12 +692,8 @@ void initFileLog(int success_mhz) {
case FAT_TYPE_EXFAT:
LOG_FILE.println("exFAT");
break;
case FAT_TYPE_FAT32:
LOG_FILE.print("FAT32");
case FAT_TYPE_FAT16:
LOG_FILE.print("FAT16");
default:
LOG_FILE.println(" - Consider formatting the SD Card with exFAT for improved performance.");
LOG_FILE.print("FAT 32/16/12 - Consider formatting the SD Card with exFAT for improved performance.");
}
LOG_FILE.print("SPI speed: ");
LOG_FILE.print(success_mhz);
Expand Down Expand Up @@ -2043,7 +2039,7 @@ static byte onReadDiscInformation(SCSI_DEVICE *dev, const byte *cdb)
static byte onReadDVDStructure(SCSI_DEVICE *dev, const byte *cdb)
{
dev->m_senseKey = SCSI_SENSE_ILLEGAL_REQUEST;
dev->m_additional_sense_code = SCSI_ASC_CANNOT_READ_MEDIUM_INCOMPATIBLE_FORMAT;
dev->m_additional_sense_code = SCSI_ASC_INVALID_OPERATION_CODE;
return SCSI_STATUS_CHECK_CONDITION;
}

Expand Down

0 comments on commit ff20a1c

Please sign in to comment.