X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fsaleae-logic-pro%2Fprotocol.h;h=9844454381463ae3bfe91b9b4e10e0286a9f5b28;hb=8ff25aa9b285edca280b2abc95382a8a5ba785d6;hp=ca80f258ef4956e79bf4e1207d56593d1c2833ba;hpb=bb0c52719e43d4f81b63dbeea906ff89183cde21;p=libsigrok.git diff --git a/src/hardware/saleae-logic-pro/protocol.h b/src/hardware/saleae-logic-pro/protocol.h index ca80f258..98444543 100644 --- a/src/hardware/saleae-logic-pro/protocol.h +++ b/src/hardware/saleae-logic-pro/protocol.h @@ -36,23 +36,18 @@ */ #define CONV_BUFFER_SIZE (2 * 8 * 16384 + CONV_BATCH_SIZE) -/** Private, per-device-instance driver context. */ struct dev_context { - /* Acquisition settings */ unsigned int dig_channel_cnt; uint16_t dig_channel_mask; uint16_t dig_channel_masks[16]; uint64_t dig_samplerate; - /* Operational state */ uint32_t lfsr; - /* Temporary state across callbacks */ unsigned int num_transfers; unsigned int submitted_transfers; struct libusb_transfer **transfers; - /* Conversion buffer */ uint8_t *conv_buffer; unsigned int conv_size; unsigned int batch_index;