]> sigrok.org Git - libsigrok.git/commitdiff
dslogic: Updated matching of device with loaded firmware
authorJoel Holdsworth <redacted>
Tue, 13 Jun 2017 18:07:00 +0000 (12:07 -0600)
committerUwe Hermann <redacted>
Mon, 19 Jun 2017 22:18:16 +0000 (00:18 +0200)
src/hardware/dslogic/api.c

index 8552de89f69db465fbc4c4caaee34c1ea22ce3a6..767b2a8301547e999b77eac8e3ae8e56e669703b 100644 (file)
@@ -258,8 +258,7 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options)
 
                devc->samplerates = samplerates;
                devc->num_samplerates = ARRAY_SIZE(samplerates);
-               has_firmware = usb_match_manuf_prod(devlist[i], "DreamSourceLab", "DSLogic")
-                               || usb_match_manuf_prod(devlist[i], "DreamSourceLab", "DSCope");
+               has_firmware = usb_match_manuf_prod(devlist[i], "DreamSourceLab", "USB-based Instrument");
 
                if (has_firmware) {
                        /* Already has the firmware, so fix the new address. */