From: John Hodge Date: Sun, 15 Jul 2012 04:49:51 +0000 (+0800) Subject: Modules/USB - Fixed debugging typo in devinit X-Git-Tag: rel0.15~611^2~25^2 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=5fad99e7c76b4974a45c6c1880ee63eb2839d324;p=tpg%2Facess2.git Modules/USB - Fixed debugging typo in devinit --- diff --git a/KernelLand/Modules/USB/Core/usb_devinit.c b/KernelLand/Modules/USB/Core/usb_devinit.c index 7eb55f9d..d260f627 100644 --- a/KernelLand/Modules/USB/Core/usb_devinit.c +++ b/KernelLand/Modules/USB/Core/usb_devinit.c @@ -61,18 +61,18 @@ void USB_DeviceConnected(tUSBHub *Hub, int Port) LOG("Device Descriptor = {"); LOG(" .Length = %i", desc.Length); LOG(" .Type = %i", desc.Type); - LOG(" .USBVersion = 0x%04x", desc.USBVersion); + LOG(" .USBVersion = 0x%04x", LittleEndian16(desc.USBVersion)); LOG(" .DeviceClass = 0x%02x", desc.DeviceClass); LOG(" .DeviceSubClass = 0x%02x", desc.DeviceSubClass); LOG(" .DeviceProtocol = 0x%02x", desc.DeviceProtocol); LOG(" .MaxPacketSize = 0x%02x", desc.MaxPacketSize); - LOG(" .VendorID = 0x%04x", desc.VendorID); - LOG(" .ProductID = 0x%04x", desc.ProductID); - LOG(" .DeviceID = 0x%04x", desc.DeviceID); + LOG(" .VendorID = 0x%04x", LittleEndian16(desc.VendorID)); + LOG(" .ProductID = 0x%04x", LittleEndian16(desc.ProductID)); + LOG(" .DeviceID = 0x%04x", LittleEndian16(desc.DeviceID)); LOG(" .ManufacturerStr = Str %i", desc.ManufacturerStr); LOG(" .ProductStr = Str %i", desc.ProductStr); LOG(" .SerialNumberStr = Str %i", desc.SerialNumberStr); - LOG(" .NumConfigurations = %i", desc.SerialNumberStr); + LOG(" .NumConfigurations = %i", desc.NumConfigurations); LOG("}"); #if DEBUG