]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/openbench-logic-sniffer/api.c
Remove sdi->index from openbench-logic-sniffer and pipistrello-ols
[libsigrok.git] / src / hardware / openbench-logic-sniffer / api.c
index a3d653071f5762449fe13fc5f07c30f0fcb144ea..ad1dece4402018b338351d6d3c4c8d9b120686bf 100644 (file)
@@ -173,7 +173,6 @@ static GSList *scan(GSList *options)
        if (g_poll(&probefd, 1, 10) > 0) {
                /* Got metadata. */
                sdi = get_metadata(serial);
-               sdi->index = 0;
                devc = sdi->priv;
        } else {
                /* Not an OLS -- some other board that uses the sump protocol. */