upgrade: Ignore product strings, these changed over time.
This commit is contained in:
parent
a0f44e01cc
commit
0e99f6f11c
|
@ -74,14 +74,12 @@ struct usb_device * find_dev(void)
|
||||||
|
|
||||||
if (((dev->descriptor.idProduct == 0x5740) ||
|
if (((dev->descriptor.idProduct == 0x5740) ||
|
||||||
(dev->descriptor.idProduct == 0x6018)) &&
|
(dev->descriptor.idProduct == 0x6018)) &&
|
||||||
!strcmp(man, "Black Sphere Technologies") &&
|
!strcmp(man, "Black Sphere Technologies"))
|
||||||
!strcmp(prod, "Black Magic Firmware Upgrade"))
|
|
||||||
return dev;
|
return dev;
|
||||||
|
|
||||||
if (((dev->descriptor.idProduct == 0xDF11) ||
|
if (((dev->descriptor.idProduct == 0xDF11) ||
|
||||||
(dev->descriptor.idProduct == 0x6017)) &&
|
(dev->descriptor.idProduct == 0x6017)) &&
|
||||||
!strcmp(man, "Black Sphere Technologies") &&
|
!strcmp(man, "Black Sphere Technologies"))
|
||||||
!strcmp(prod, "Black Magic Probe (Upgrade)"))
|
|
||||||
return dev;
|
return dev;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue