libusb_ll: rework. Splitted scan method -> help futur dev with a common code to detect/select usb devices

This commit is contained in:
Gwenhael Goavec-Merou
2024-05-20 16:18:50 +02:00
parent 37a0f9c03e
commit 7e90d071d9
3 changed files with 120 additions and 36 deletions
+1 -1
View File
@@ -1107,7 +1107,7 @@ void displaySupported(const struct arguments &args)
}
if (args.scan_usb) {
libusb_ll usb(0, 0);
libusb_ll usb(0, 0, args.verbose);
usb.scan();
}
}