]> sigrok.org Git - libsigrok.git/blobdiff - hardware/fx2lafw/protocol.h
Use common usb_source_add and usb_source_remove functions.
[libsigrok.git] / hardware / fx2lafw / protocol.h
index 5ccf8c1c208c01bc7475113eac555c9a14741b53..76ef63d57d7eeda8bd9e5b4dd739e1338a10279b 100644 (file)
@@ -103,7 +103,7 @@ struct dev_context {
        void *cb_data;
        unsigned int num_transfers;
        struct libusb_transfer **transfers;
-       int *usbfd;
+       struct sr_context *ctx;
 };
 
 SR_PRIV int fx2lafw_command_start_acquisition(libusb_device_handle *devhdl,