X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fzeroplus-logic-cube%2Fzeroplus.c;h=cb56a09f8873b859dd3717354dc26b3a4ace06bd;hb=1afe89897cf100b1a3a5896184ddaca5705681cc;hp=ba5fd522cb6e26b31f0ff2978fc40890111262cc;hpb=3bbd9849e9dc5fdc9fe18a4394abe4d4b43ac9d4;p=libsigrok.git diff --git a/hardware/zeroplus-logic-cube/zeroplus.c b/hardware/zeroplus-logic-cube/zeroplus.c index ba5fd522..cb56a09f 100644 --- a/hardware/zeroplus-logic-cube/zeroplus.c +++ b/hardware/zeroplus-logic-cube/zeroplus.c @@ -234,7 +234,7 @@ static void close_device(struct sr_device_instance *sdi) static int configure_probes(GSList *probes) { - struct probe *probe; + struct sr_probe *probe; GSList *l; int probe_bit, stage, i; char *tc; @@ -247,7 +247,7 @@ static int configure_probes(GSList *probes) stage = -1; for (l = probes; l; l = l->next) { - probe = (struct probe *)l->data; + probe = (struct sr_probe *)l->data; if (probe->enabled == FALSE) continue; probe_bit = 1 << (probe->index - 1);