]> sigrok.org Git - libsigrok.git/blobdiff - hardware/hameg-hmo/api.c
hameg-hmo: Reset the number of acquired frames in acquisition stop.
[libsigrok.git] / hardware / hameg-hmo / api.c
index d61a5e87b323802af1ee71c6b1a951092fa60050..638797e2fc5ccf1c4057d4e6aecbbe92627b46bd 100644 (file)
@@ -935,6 +935,7 @@ static int dev_acquisition_stop(struct sr_dev_inst *sdi, void *cb_data)
 
        devc = sdi->priv;
 
+       devc->num_frames = 0;
        g_slist_free(devc->enabled_probes);
        devc->enabled_probes = NULL;
        scpi = sdi->conn;