SCSI inquiry length

only:usb
This commit is contained in:
Matthew Kennedy 2025-01-22 20:12:54 -08:00 committed by rusefillc
parent 09fd12e91f
commit 28c1385cac
1 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ static const scsi_inquiry_response_t iniDriveInquiry = {
0x80, /* removable */
0x04, /* SPC-2 */
0x02, /* response data format */
0x20, /* response has 0x20 + 4 bytes */
sizeof(scsi_inquiry_response_t) - 5, // size of this struct, minus bytes up to and including this one
0x00,
0x00,
0x00,
@ -66,7 +66,7 @@ static const scsi_inquiry_response_t sdCardInquiry = {
0x80, /* removable */
0x04, /* SPC-2 */
0x02, /* response data format */
0x20, /* response has 0x20 + 4 bytes */
sizeof(scsi_inquiry_response_t) - 5, // size of this struct, minus bytes up to and including this one
0x00,
0x00,
0x00,