X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fchronovu-la8%2Fprotocol.c;h=4dcf26ff4a68311176c2d2362331c49825e3231e;hb=91aea754aaed0f0f2a6fc4b2b875f0d0b7c01f8e;hp=90bef5a45ae0edf9fd2361cc7d7b1e49ef261627;hpb=53b4680fceab9351fc87b8c5b34854733f5fdac0;p=libsigrok.git diff --git a/hardware/chronovu-la8/protocol.c b/hardware/chronovu-la8/protocol.c index 90bef5a4..4dcf26ff 100644 --- a/hardware/chronovu-la8/protocol.c +++ b/hardware/chronovu-la8/protocol.c @@ -287,7 +287,7 @@ SR_PRIV int la8_reset(struct dev_context *devc) SR_PRIV int configure_probes(const struct sr_dev_inst *sdi) { struct dev_context *devc; - const struct sr_probe *probe; + const struct sr_channel *probe; const GSList *l; uint8_t probe_bit; char *tc; @@ -297,7 +297,7 @@ SR_PRIV int configure_probes(const struct sr_dev_inst *sdi) devc->trigger_mask = 0; /* Default to "don't care" for all probes. */ for (l = sdi->probes; l; l = l->next) { - probe = (struct sr_probe *)l->data; + probe = (struct sr_channel *)l->data; if (!probe) { sr_err("%s: probe was NULL.", __func__);