drivers/usbdev/adb.c: Fix a syslog format

This commit is contained in:
YAMAMOTO Takashi 2020-12-04 21:58:04 +09:00 committed by Xiang Xiao
parent 7cb69a652d
commit d9b569b4d3

View File

@ -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)
{