Skip to content

Commit

Permalink
Use pmsg_notice2 instead of pmsg_warning
Browse files Browse the repository at this point in the history
  • Loading branch information
MCUdude committed Jun 15, 2023
1 parent 5078f35 commit 10cc234
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/usb_hidapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,8 @@ 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",
pmsg_notice2("USB device with VID: 0x%04x and PID: 0x%04x not found\n",
pinfo.usbinfo.vid, pinfo.usbinfo.pid);
}
return -1;
}
}
Expand Down

0 comments on commit 10cc234

Please sign in to comment.