diff --git a/src/usb_hidapi.c b/src/usb_hidapi.c index 7dd78314..0ad18409 100644 --- a/src/usb_hidapi.c +++ b/src/usb_hidapi.c @@ -123,8 +123,10 @@ 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) { + if (verbose > 1) { pmsg_warning("USB device with VID: 0x%04x and PID: 0x%04x not found\n", pinfo.usbinfo.vid, pinfo.usbinfo.pid); + } return -1; } }