rigol-ds: Reset num_frames to zero in dev_acquisition_start.
This commit is contained in:
parent
b751cf7a82
commit
51b294cd01
|
@ -807,6 +807,8 @@ static int dev_acquisition_start(const struct sr_dev_inst *sdi, void *cb_data)
|
||||||
scpi = sdi->conn;
|
scpi = sdi->conn;
|
||||||
devc = sdi->priv;
|
devc = sdi->priv;
|
||||||
|
|
||||||
|
devc->num_frames = 0;
|
||||||
|
|
||||||
for (l = sdi->probes; l; l = l->next) {
|
for (l = sdi->probes; l; l = l->next) {
|
||||||
probe = l->data;
|
probe = l->data;
|
||||||
sr_dbg("handling probe %s", probe->name);
|
sr_dbg("handling probe %s", probe->name);
|
||||||
|
|
Loading…
Reference in New Issue