mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-29 17:39:36 +02:00
libusb_ll: fix typo in scan method
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ bool libusb_ll::scan()
|
||||
// FIXME: DFU device can't be detected here
|
||||
for (auto b = cable_list.begin(); b != cable_list.end(); b++) {
|
||||
cable_t *c = &(*b).second;
|
||||
if (c->vid == desc.idVendor && c->vid == desc.idProduct) {
|
||||
if (c->vid == desc.idVendor && c->pid == desc.idProduct) {
|
||||
snprintf(probe_type, 256, "%s", (*b).first.c_str());
|
||||
found = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user