Skip to content

Commit

Permalink
Change verbosity for showing connected USB devices
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanrueger committed Aug 15, 2024
1 parent 3a35adf commit d8b977e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/usb_hidapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ static int usbhid_open(const char *port, union pinfo pinfo, union filedescriptor
walk = list;
while (walk) {
if(walk->serial_number) {
pmsg_debug("%s(): found %ls, serno: %ls\n", __func__, walk->product_string, walk->serial_number);
pmsg_notice("%s(): found %ls, serno: %ls\n", __func__, walk->product_string, walk->serial_number);
size_t slen = wcslen(walk->serial_number);
// Found matching serial number?
if (slen >= serlen && wcscmp(walk->serial_number + slen - serlen, wserno) == 0)
Expand Down
2 changes: 1 addition & 1 deletion src/usb_libusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ static int usbdev_open(const char *port, union pinfo pinfo, union filedescriptor
fd->usb.wep = 0x02;
}

pmsg_notice2("%s(): found %s, serno: %s\n", __func__, product, string);
pmsg_notice("%s(): found %s, serno: %s\n", __func__, product, string);
if (*serno)
{
/*
Expand Down

0 comments on commit d8b977e

Please sign in to comment.