mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-07-22 01:15:22 +03:00
Change verbosity for showing connected USB devices
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user