Change message type from error to warning and add additional USB info
This commit is contained in:
parent
b864d7e73a
commit
c999083b8f
|
@ -133,8 +133,9 @@ static int usbhid_open(const char *port, union pinfo pinfo, union filedescriptor
|
|||
dev = hid_open(pinfo.usbinfo.vid, pinfo.usbinfo.pid, NULL);
|
||||
if (dev == NULL)
|
||||
{
|
||||
pmsg_error("no device found\n");
|
||||
return -1;
|
||||
pmsg_warning("USB device with VID: 0x%04x and PID: 0x%04x not found\n",
|
||||
pinfo.usbinfo.vid, pinfo.usbinfo.pid);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue