mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix marshalling MultiMediaCard serial number from CID registers.
This commit is contained in:
@@ -84,7 +84,7 @@ namespace Aaru.Decoders.MMC
|
||||
Manufacturer = response[0],
|
||||
DeviceType = (byte)(response[1] & 0x03),
|
||||
ProductRevision = response[9],
|
||||
ProductSerialNumber = BitConverter.ToUInt32(response, 10),
|
||||
ProductSerialNumber = Swapping.Swap(BitConverter.ToUInt32(response, 10)),
|
||||
ManufacturingDate = response[14],
|
||||
CRC = (byte)((response[15] & 0xFE) >> 1)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user