Merge pull request #1403 from MCUdude/usb-warning

Mute missing USB device warning for lower verbosity levels
This commit is contained in:
Stefan Rueger
2023-06-16 00:04:01 +01:00
committed by GitHub

View File

@@ -123,7 +123,7 @@ 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_warning("USB device with VID: 0x%04x and PID: 0x%04x not found\n",
pmsg_notice2("USB device with VID: 0x%04x and PID: 0x%04x not found\n",
pinfo.usbinfo.vid, pinfo.usbinfo.pid);
return -1;
}