Identify info endianness is already handled in the ATA driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16380 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1bc02a2ce8
commit
fbfda7e5ba
1 changed files with 3 additions and 3 deletions
|
@ -370,11 +370,11 @@ static void set_serial_descriptor(void)
|
|||
|
||||
for (i = 10; i < 20; i++)
|
||||
{
|
||||
x = betoh16(identify[i]);
|
||||
*p++ = hex[(x >> 4) & 0xF];
|
||||
*p++ = hex[(x >> 0) & 0xF];
|
||||
x = identify[i];
|
||||
*p++ = hex[(x >> 12) & 0xF];
|
||||
*p++ = hex[(x >> 8) & 0xF];
|
||||
*p++ = hex[(x >> 4) & 0xF];
|
||||
*p++ = hex[(x >> 0) & 0xF];
|
||||
}
|
||||
usb_string_iSerial.bLength=82;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue