From: poljar (Damir Jelić) Date: Thu, 16 Jan 2014 18:55:00 +0000 (+0100) Subject: hameg-hmo: Reset the number of acquired frames in acquisition stop. X-Git-Tag: libsigrok-0.3.0~263 X-Git-Url: http://sigrok.org/gitweb/?a=commitdiff_plain;h=ef1a346b0b69a6ef74c75f6eb61ac5742b67b5c2;p=libsigrok.git hameg-hmo: Reset the number of acquired frames in acquisition stop. --- diff --git a/hardware/hameg-hmo/api.c b/hardware/hameg-hmo/api.c index d61a5e87..638797e2 100644 --- a/hardware/hameg-hmo/api.c +++ b/hardware/hameg-hmo/api.c @@ -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;