added proper define for ICD command

This commit is contained in:
Troy 2022-07-13 17:58:59 -04:00
parent 58e880a9e1
commit 5d80b8adbf
2 changed files with 2 additions and 1 deletions

View File

@ -1597,7 +1597,7 @@ void loop()
// proper full size SCSI command byte to follow
// so just read it and re-read it again to get the
// real command byte
if(cmd[0] == 0x1F) { cmd[0] = readHandshake(); }
if(cmd[0] == SCSI_ICD_EXTENDED_CMD) { cmd[0] = readHandshake(); }
LOGHEX(cmd[0]);
// Command length selection, reception

View File

@ -21,6 +21,7 @@
#define SCSI_RECV_DIAG_RESULTS 0x1C
#define SCSI_SEND_DIAG 0x1D
#define SCSI_PREVENT_ALLOW_REMOVAL 0x1E
#define SCSI_ICD_EXTENDED_CMD 0x1F
#define SCSI_READ_CAPACITY 0x25
#define SCSI_READ10 0x28
#define SCSI_WRITE10 0x2A