upgrade: Ignore product strings, these changed over time.

This commit is contained in:
Gareth McMullin 2015-03-08 19:38:59 -07:00
parent a0f44e01cc
commit 0e99f6f11c
1 changed files with 2 additions and 4 deletions

View File

@ -74,14 +74,12 @@ struct usb_device * find_dev(void)
if (((dev->descriptor.idProduct == 0x5740) ||
(dev->descriptor.idProduct == 0x6018)) &&
!strcmp(man, "Black Sphere Technologies") &&
!strcmp(prod, "Black Magic Firmware Upgrade"))
!strcmp(man, "Black Sphere Technologies"))
return dev;
if (((dev->descriptor.idProduct == 0xDF11) ||
(dev->descriptor.idProduct == 0x6017)) &&
!strcmp(man, "Black Sphere Technologies") &&
!strcmp(prod, "Black Magic Probe (Upgrade)"))
!strcmp(man, "Black Sphere Technologies"))
return dev;
}
}