rigol-ds: Reset num_frames to zero in dev_acquisition_start.

This commit is contained in:
Martin Ling 2014-01-16 18:57:45 +00:00 committed by Uwe Hermann
parent b751cf7a82
commit 51b294cd01
1 changed files with 2 additions and 0 deletions

View File

@ -807,6 +807,8 @@ static int dev_acquisition_start(const struct sr_dev_inst *sdi, void *cb_data)
scpi = sdi->conn;
devc = sdi->priv;
devc->num_frames = 0;
for (l = sdi->probes; l; l = l->next) {
probe = l->data;
sr_dbg("handling probe %s", probe->name);