X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fikalogic-scanalogic2%2Fprotocol.h;h=26adeedb5efffd3516bcb231db307aeaa4319e45;hb=ba7dd8bbb8168cba432a844259a3e239aa5f36d7;hp=6cdb607254a0d10b3eb69649d57133ff05ac5567;hpb=91aea754aaed0f0f2a6fc4b2b875f0d0b7c01f8e;p=libsigrok.git diff --git a/hardware/ikalogic-scanalogic2/protocol.h b/hardware/ikalogic-scanalogic2/protocol.h index 6cdb6072..26adeedb 100644 --- a/hardware/ikalogic-scanalogic2/protocol.h +++ b/hardware/ikalogic-scanalogic2/protocol.h @@ -151,8 +151,8 @@ struct dev_context { void *cb_data; - /* Array to provide an index based access to all probes. */ - const struct sr_channel *probes[NUM_PROBES]; + /* Array to provide an index based access to all channels. */ + const struct sr_channel *channels[NUM_PROBES]; struct libusb_transfer *xfer_in, *xfer_out; @@ -208,11 +208,11 @@ struct dev_context { /* Channel number that is currently processed. */ uint8_t channel; - /* Number of enabled probes. */ - unsigned int num_enabled_probes; + /* Number of enabled channels. */ + unsigned int num_enabled_channels; - /* Array to provide a sequential access to all enabled probe indices. */ - uint8_t probe_map[NUM_PROBES]; + /* Array to provide a sequential access to all enabled channel indices. */ + uint8_t channel_map[NUM_PROBES]; /* Indicates whether a transfer failed. */ gboolean transfer_error;