X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Flink-mso19%2Fprotocol.c;fp=hardware%2Flink-mso19%2Fprotocol.c;h=942f0488c6d1eea39e62d6f78cd1e9dd40ed2616;hb=91aea754aaed0f0f2a6fc4b2b875f0d0b7c01f8e;hp=fbb50054ab24f8194d6989985677212eb9184377;hpb=53b4680fceab9351fc87b8c5b34854733f5fdac0;p=libsigrok.git diff --git a/hardware/link-mso19/protocol.c b/hardware/link-mso19/protocol.c index fbb50054..942f0488 100644 --- a/hardware/link-mso19/protocol.c +++ b/hardware/link-mso19/protocol.c @@ -438,7 +438,7 @@ SR_PRIV int mso_receive_data(int fd, int revents, void *cb_data) SR_PRIV int mso_configure_probes(const struct sr_dev_inst *sdi) { struct dev_context *devc; - struct sr_probe *probe; + struct sr_channel *probe; GSList *l; char *tc; @@ -453,7 +453,7 @@ SR_PRIV int mso_configure_probes(const struct sr_dev_inst *sdi) devc->use_trigger = FALSE; for (l = sdi->probes; l; l = l->next) { - probe = (struct sr_probe *)l->data; + probe = (struct sr_channel *)l->data; if (probe->enabled == FALSE) continue;