]> sigrok.org Git - libsigrok.git/blobdiff - hardware/hantek-dso/dso.h
hantek-dso: delimit frames with SR_DF_FRAME_* packets
[libsigrok.git] / hardware / hantek-dso / dso.h
index 6e35a985859e53cfd7b272621431dd76f580356d..1bd93734c8be3d6aa8807446d5a02751e00db32b 100644 (file)
@@ -169,6 +169,8 @@ struct context {
        struct dso_profile *profile;
        struct sr_usb_dev_inst *usb;
        void *cb_data;
+       uint64_t limit_frames;
+       uint64_t num_frames;
        /* We can't keep track of an FX2-based device after upgrading
         * the firmware (it re-enumerates into a different device address
         * after the upgrade) this is like a global lock. No device will open