]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/pipistrello-ols/api.c
Remove sdi->index from openbench-logic-sniffer and pipistrello-ols
[libsigrok.git] / src / hardware / pipistrello-ols / api.c
index 9287509f8e3c1088f4d0376524e0e1df2dc5f00b..2db23fd042eaea1ea39a1de1c194576b5d1d0d78 100644 (file)
@@ -185,7 +185,6 @@ static GSList *scan(GSList *options)
 
        /* Parse the metadata. */
        sdi = p_ols_get_metadata((uint8_t *)buf, bytes_read, devc);
-       sdi->index = 0;
 
        /* Configure samplerate and divider. */
        if (p_ols_set_samplerate(sdi, DEFAULT_SAMPLERATE) != SR_OK)