X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fopenbench-logic-sniffer%2Fols.c;h=4df5ef051ce37e9d63c3d3d2c6d6b4b7cc89401c;hb=1afe89897cf100b1a3a5896184ddaca5705681cc;hp=ec9fa4ed6c5bacd52f6508aa3f5ef625c4bef95c;hpb=3bbd9849e9dc5fdc9fe18a4394abe4d4b43ac9d4;p=libsigrok.git diff --git a/hardware/openbench-logic-sniffer/ols.c b/hardware/openbench-logic-sniffer/ols.c index ec9fa4ed..4df5ef05 100644 --- a/hardware/openbench-logic-sniffer/ols.c +++ b/hardware/openbench-logic-sniffer/ols.c @@ -147,7 +147,7 @@ static int send_longcommand(int fd, uint8_t command, uint32_t data) static int configure_probes(GSList *probes) { - struct probe *probe; + struct sr_probe *probe; GSList *l; int probe_bit, stage, i; char *tc; @@ -160,7 +160,7 @@ static int configure_probes(GSList *probes) num_stages = 0; for (l = probes; l; l = l->next) { - probe = (struct probe *)l->data; + probe = (struct sr_probe *)l->data; if (!probe->enabled) continue;