]> sigrok.org Git - libsigrok.git/blobdiff - hardware/openbench-logic-sniffer/protocol.c
ols: fixed parallel stage triggers
[libsigrok.git] / hardware / openbench-logic-sniffer / protocol.c
index ba7828527fc74afd3a96517ce2a9bd820707ad58..c8b416857e73aae52b57309bd496cc9ec3112184 100644 (file)
@@ -99,7 +99,7 @@ SR_PRIV int ols_configure_probes(const struct sr_dev_inst *sdi)
                                return SR_ERR;
                }
                if (stage > devc->num_stages)
-                       devc->num_stages = stage;
+                       devc->num_stages = stage - 1;
        }
 
        return SR_OK;