]> sigrok.org Git - libsigrok.git/blobdiff - hardware/rigol-ds/protocol.h
Replace 'probe' with 'channel' in most places.
[libsigrok.git] / hardware / rigol-ds / protocol.h
index 269e0f0f4677d72690fd8b696310478ffaadead9..458ae3be73041a77fe8af2590f31ab78dedcf82a 100644 (file)
@@ -97,13 +97,13 @@ struct dev_context {
        const uint64_t (*vdivs)[2];
        uint64_t num_vdivs;
 
-       /* Probe groups */
-       struct sr_probe_group analog_groups[MAX_ANALOG_PROBES];
-       struct sr_probe_group digital_group;
+       /* Channel groups */
+       struct sr_channel_group analog_groups[MAX_ANALOG_PROBES];
+       struct sr_channel_group digital_group;
 
        /* Acquisition settings */
-       GSList *enabled_analog_probes;
-       GSList *enabled_digital_probes;
+       GSList *enabled_analog_channels;
+       GSList *enabled_digital_channels;
        uint64_t limit_frames;
        void *cb_data;
        enum data_source data_source;
@@ -131,6 +131,8 @@ struct dev_context {
        GSList *channel_entry;
        /* Number of bytes received for current channel. */
        uint64_t num_channel_bytes;
+       /* Number of bytes of block header read */
+       uint64_t num_header_bytes;
        /* Number of bytes in current data block, if 0 block header expected */
        uint64_t num_block_bytes;
        /* Number of data block bytes already read */