drivers/usbdev/adb.c: Fix a syslog format
This commit is contained in:
parent
7cb69a652d
commit
d9b569b4d3
@ -1147,7 +1147,7 @@ static int usbclass_setup(FAR struct usbdevclass_driver_s *driver,
|
||||
len = GETUINT16(ctrl->len);
|
||||
|
||||
uinfo("type=%02x req=%02x value=%04x index=%04x len=%04x\n",
|
||||
ctrl->type, ctrl->req, value, index, len);
|
||||
ctrl->type, ctrl->req, value, GETUINT16(ctrl->index), len);
|
||||
|
||||
switch (ctrl->type & USB_REQ_TYPE_MASK)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user