Fix order of debug printf items, addr and config# were swapped.

This commit is contained in:
Andrew Thompson 2009-03-23 19:10:38 +00:00
parent 1241692334
commit 91f72cedda

View File

@ -628,7 +628,7 @@ usb2_set_config_index(struct usb2_device *udev, uint8_t index)
DPRINTF("udev=%p cdesc=%p (addr %d) cno=%d attr=0x%02x, "
"selfpowered=%d, power=%d\n",
udev, cdp,
cdp->bConfigurationValue, udev->address, cdp->bmAttributes,
udev->address, cdp->bConfigurationValue, cdp->bmAttributes,
selfpowered, cdp->bMaxPower * 2);
/* Check if we have enough power. */