X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fzeroplus-logic-cube%2Fzeroplus.c;h=683203aef28630a8ba69722eefdf98abbe91f7d9;hb=b35c829306b86dbeeeecf14de7fe30a05a88c914;hp=07f38366203da11ea2ff772fcee647c03b8db33b;hpb=d6a8df467de03fe211dea7a0c91f63ceb22c5480;p=libsigrok.git diff --git a/hardware/zeroplus-logic-cube/zeroplus.c b/hardware/zeroplus-logic-cube/zeroplus.c index 07f38366..683203ae 100644 --- a/hardware/zeroplus-logic-cube/zeroplus.c +++ b/hardware/zeroplus-logic-cube/zeroplus.c @@ -203,7 +203,7 @@ static int configure_probes(const struct sr_dev_inst *sdi, const GSList *probes) probe = (struct sr_probe *)l->data; if (probe->enabled == FALSE) continue; - probe_bit = 1 << (probe->index - 1); + probe_bit = 1 << (probe->index); ctx->probe_mask |= probe_bit; if (probe->trigger) {