]> sigrok.org Git - libsigrok.git/blobdiff - hardware/hantek-dso/dso.h
Always interleave analog data with all enabled probes.
[libsigrok.git] / hardware / hantek-dso / dso.h
index 866dc2d5343fadda68a4d613711b042a5949c9d1..5f766f9fcb60f8da570020b967cb8fbfaa0a0133 100644 (file)
@@ -163,6 +163,7 @@ struct dev_context {
        void *cb_data;
        uint64_t limit_frames;
        uint64_t num_frames;
+       GSList *enabled_probes;
        /* 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
@@ -210,7 +211,7 @@ SR_PRIV int dso_init(struct dev_context *devc);
 SR_PRIV int dso_get_capturestate(struct dev_context *devc,
                uint8_t *capturestate, uint32_t *trigger_offset);
 SR_PRIV int dso_capture_start(struct dev_context *devc);
-SR_PRIV int dso_get_channeldata(struct dev_context *devc,
+SR_PRIV int dso_get_channeldata(const struct sr_dev_inst *sdi,
                libusb_transfer_cb_fn cb);
 
 #endif