mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 20:08:15 +08:00
drivers/usbdev/adb.c: Fix a syslog format
This commit is contained in:
committed by
Xiang Xiao
parent
7cb69a652d
commit
d9b569b4d3
@@ -1147,7 +1147,7 @@ static int usbclass_setup(FAR struct usbdevclass_driver_s *driver,
|
|||||||
len = GETUINT16(ctrl->len);
|
len = GETUINT16(ctrl->len);
|
||||||
|
|
||||||
uinfo("type=%02x req=%02x value=%04x index=%04x len=%04x\n",
|
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)
|
switch (ctrl->type & USB_REQ_TYPE_MASK)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user