]> sigrok.org Git - libsigrok.git/commitdiff
hameg-hmo: Reset the number of acquired frames in acquisition stop.
authorpoljar (Damir Jelić) <redacted>
Thu, 16 Jan 2014 18:55:00 +0000 (19:55 +0100)
committerBert Vermeulen <redacted>
Thu, 16 Jan 2014 22:02:47 +0000 (23:02 +0100)
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;