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:
Jens Arnold 2008-02-23 08:22:12 +00:00
parent 1bc02a2ce8
commit fbfda7e5ba

View file

@ -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;
}