X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fhardware%2Fpipistrello-ols%2Fapi.c;h=2db23fd042eaea1ea39a1de1c194576b5d1d0d78;hb=71580ef1f3cf1a5979a2c52e9819de34d525ecbf;hp=9287509f8e3c1088f4d0376524e0e1df2dc5f00b;hpb=395206f460cc4002feedca2265cf374b90c9c047;p=libsigrok.git diff --git a/src/hardware/pipistrello-ols/api.c b/src/hardware/pipistrello-ols/api.c index 9287509f..2db23fd0 100644 --- a/src/hardware/pipistrello-ols/api.c +++ b/src/hardware/pipistrello-ols/api.c @@ -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)