X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fsaleae-logic-pro%2Fapi.c;fp=src%2Fhardware%2Fsaleae-logic-pro%2Fapi.c;h=f448533ef9be8b6a2c7242f44c477eda2ff66006;hb=f670835f1fbc03525e995d6970a5495976ab7c1a;hp=1648c95268ba7441426b284d4fb67ac85f5be216;hpb=d2f7c417fdd96a13d8fd86350d2fc13db16f626c;p=libsigrok.git diff --git a/src/hardware/saleae-logic-pro/api.c b/src/hardware/saleae-logic-pro/api.c index 1648c952..f448533e 100644 --- a/src/hardware/saleae-logic-pro/api.c +++ b/src/hardware/saleae-logic-pro/api.c @@ -348,9 +348,6 @@ static int dev_acquisition_start(const struct sr_dev_inst *sdi) uint8_t *buf; unsigned int i, ret; - if (sdi->status != SR_ST_ACTIVE) - return SR_ERR_DEV_CLOSED; - ret = saleae_logic_pro_init(sdi); if (ret != SR_OK) return ret;