]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/demo/api.c
demo: Properly handle low samplerates
[libsigrok.git] / src / hardware / demo / api.c
index f23cb7004f2a5115165bd5f02d5e28fd48c08b29..c5259b286144621d6f763ec611b7045df7ab49f2 100644 (file)
@@ -400,6 +400,7 @@ static int dev_acquisition_start(const struct sr_dev_inst *sdi)
 
        devc = sdi->priv;
        devc->sent_samples = 0;
+       devc->sent_frame_samples = 0;
 
        /*
         * Determine the numbers of logic and analog channels that are