mirror of
https://github.com/erichelgeson/BlueSCSI.git
synced 2024-12-23 04:29:44 +00:00
added proper define for ICD command
This commit is contained in:
parent
58e880a9e1
commit
5d80b8adbf
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user