X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fpce-322a%2Fprotocol.h;fp=src%2Fhardware%2Fpce-322a%2Fprotocol.h;h=338e37e3af454b7d676194eb685d88814ad64544;hb=ca314e060f653e6a0b5ec0f58914bac4d426217f;hp=094b3ab47793949d93c8c49fe51c84b5639a9fb3;hpb=c8e789fa0c7264f8356b0446367cc1252fadfe4c;p=libsigrok.git diff --git a/src/hardware/pce-322a/protocol.h b/src/hardware/pce-322a/protocol.h index 094b3ab4..338e37e3 100644 --- a/src/hardware/pce-322a/protocol.h +++ b/src/hardware/pce-322a/protocol.h @@ -68,17 +68,13 @@ enum { MEM_STATE_GET_MEMORY_BLOCK, }; -/** Private, per-device-instance driver context. */ struct dev_context { - /* Model-specific information */ uint64_t cur_mqflags; uint8_t cur_meas_range; - /* Acquisition settings */ uint8_t cur_data_source; uint64_t limit_samples; - /* Operational state */ uint64_t num_samples; /* Memory reading state */ @@ -88,7 +84,6 @@ struct dev_context { uint16_t memory_block_counter; /* Number of memory blocks retrieved so far. */ uint8_t memory_block_cursor; /* Number of bytes retrieved in current memory block. */ - /* Temporary state across callbacks. */ uint8_t buffer[BUFFER_SIZE]; int buffer_len; int buffer_skip; /* Number of bytes to skip in memory mode. */