X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Ffx2lafw%2Ffx2lafw.h;h=ae3ed1bc31753664ed9b8e345447ad56468db799;hb=aee878fa2efb8483bf93fa3bb03508357fc713a8;hp=c8a1d929380bf1f5fb8ef504a42fbee2e7166884;hpb=f4575b6549ded99ec5380b4d6fafa899f5cb65ae;p=libsigrok.git diff --git a/hardware/fx2lafw/fx2lafw.h b/hardware/fx2lafw/fx2lafw.h index c8a1d929..ae3ed1bc 100644 --- a/hardware/fx2lafw/fx2lafw.h +++ b/hardware/fx2lafw/fx2lafw.h @@ -19,7 +19,6 @@ */ #include -#include #ifndef LIBSIGROK_HARDWARE_FX2LAFW_FX2LAFW_H #define LIBSIGROK_HARDWARE_FX2LAFW_FX2LAFW_H @@ -76,7 +75,7 @@ struct context { uint64_t cur_samplerate; uint64_t limit_samples; - bool sample_wide; + gboolean sample_wide; uint16_t trigger_mask[NUM_TRIGGER_STAGES]; uint16_t trigger_value[NUM_TRIGGER_STAGES]; @@ -85,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