mirror of
https://github.com/fhgwright/SCSI2SD.git
synced 2025-01-13 15:32:42 +00:00
Fix Unit Serial Number inquiry page to return configured value.
This commit is contained in:
parent
50538385af
commit
0b49f5de9c
@ -181,6 +181,7 @@ void scsiInquiry()
|
||||
{
|
||||
memcpy(scsiDev.data, UnitSerialNumber, sizeof(UnitSerialNumber));
|
||||
scsiDev.dataLen = sizeof(UnitSerialNumber);
|
||||
memcpy(&scsiDev.data[4], config->serial, sizeof(config->serial));
|
||||
scsiDev.phase = DATA_IN;
|
||||
}
|
||||
else if (pageCode == 0x81)
|
||||
|
Loading…
x
Reference in New Issue
Block a user