hameg-hmo: Reset the number of acquired frames in acquisition stop.

This commit is contained in:
poljar (Damir Jelić) 2014-01-16 19:55:00 +01:00 committed by Bert Vermeulen
parent ccf1461825
commit ef1a346b0b
1 changed files with 1 additions and 0 deletions

View 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;