xhc-hb04 bogus 'found' message in standalone
when operating standalone with no connected device, a ctrl-c would result in a misleading 'found' message
This commit is contained in:
parent
110e4fd7e0
commit
f192c0840a
1 changed files with 1 additions and 1 deletions
|
|
@ -832,7 +832,7 @@ int main (int argc,char **argv)
|
||||||
}
|
}
|
||||||
} while(dev_handle == NULL && !do_exit);
|
} while(dev_handle == NULL && !do_exit);
|
||||||
|
|
||||||
printf("%s: found XHC-HB04 device\n",modname);
|
if (dev_handle) printf("%s: found XHC-HB04 device\n",modname);
|
||||||
|
|
||||||
if (dev_handle) {
|
if (dev_handle) {
|
||||||
if (libusb_kernel_driver_active(dev_handle, 0) == 1) {
|
if (libusb_kernel_driver_active(dev_handle, 0) == 1) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue