Change verbosity for showing connected USB devices

This commit is contained in:
Stefan Rueger
2024-08-15 23:28:26 +01:00
parent 3a35adffb7
commit d8b977e2d0
2 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

@@ -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)
{
/*