X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Ffx2lafw%2Ffx2lafw.h;h=c68b4aecda0ec2cfca53e3b5e914557fd5fef78b;hb=f086b83011b1282f62f0058872f333aef4bf9daa;hp=c6ad3ce11d28afb87fcb4f90e8fffd6d7536e71b;hpb=0a88ec3d9c97d20a26f2c0d8813ce7ba075421f6;p=libsigrok.git diff --git a/hardware/fx2lafw/fx2lafw.h b/hardware/fx2lafw/fx2lafw.h index c6ad3ce1..c68b4aec 100644 --- a/hardware/fx2lafw/fx2lafw.h +++ b/hardware/fx2lafw/fx2lafw.h @@ -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