]> sigrok.org Git - libsigrok.git/blobdiff - hardware/fx2lafw/protocol.h
fx2lafw: pass sdi to command functions.
[libsigrok.git] / hardware / fx2lafw / protocol.h
index dc1c83ff62098f2895737b20c0c6eaad7df84e52..08e2589946de6d0d6c6f53a8ae15598652b833ad 100644 (file)
@@ -98,8 +98,7 @@ struct dev_context {
        struct sr_context *ctx;
 };
 
-SR_PRIV int fx2lafw_command_start_acquisition(libusb_device_handle *devhdl,
-               uint64_t samplerate, gboolean samplewide);
+SR_PRIV int fx2lafw_command_start_acquisition(const struct sr_dev_inst *sdi);
 SR_PRIV gboolean fx2lafw_check_conf_profile(libusb_device *dev);
 SR_PRIV int fx2lafw_dev_open(struct sr_dev_inst *sdi, struct sr_dev_driver *di);
 SR_PRIV int fx2lafw_configure_channels(const struct sr_dev_inst *sdi);