X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fhantek-dso%2Fdso.h;h=5f766f9fcb60f8da570020b967cb8fbfaa0a0133;hb=69e19dd7691f86ac001469d1b319e1358e0d9778;hp=866dc2d5343fadda68a4d613711b042a5949c9d1;hpb=b1a051544d502f15a1da05682e625755563b86c2;p=libsigrok.git diff --git a/hardware/hantek-dso/dso.h b/hardware/hantek-dso/dso.h index 866dc2d5..5f766f9f 100644 --- a/hardware/hantek-dso/dso.h +++ b/hardware/hantek-dso/dso.h @@ -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