]> sigrok.org Git - libsigrok.git/blobdiff - hardware/fx2lafw/fx2lafw.h
serial-dmm: Add Digitek DT4000ZC support.
[libsigrok.git] / hardware / fx2lafw / fx2lafw.h
index c6ad3ce11d28afb87fcb4f90e8fffd6d7536e71b..c68b4aecda0ec2cfca53e3b5e914557fd5fef78b 100644 (file)
@@ -60,7 +60,7 @@ struct fx2lafw_profile {
        uint32_t dev_caps;
 };
 
-struct context {
+struct dev_context {
        const struct fx2lafw_profile *profile;
 
        /*
@@ -84,10 +84,14 @@ struct context {
 
        int num_samples;
        int submitted_transfers;
+       int empty_transfer_count;
 
        void *session_dev_id;
 
        struct sr_usb_dev_inst *usb;
+
+       unsigned int num_transfers;
+       struct libusb_transfer **transfers;
 };
 
 #endif