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=1648c95268ba7441426b284d4fb67ac85f5be216;hb=d2f7c417fdd96a13d8fd86350d2fc13db16f626c;hp=8be8fb5066591a2c18857d8e16048ebfd669680f;hpb=6ad2fbaad2722f0aa18c3600cdbdddf812784b2d;p=libsigrok.git diff --git a/src/hardware/saleae-logic-pro/api.c b/src/hardware/saleae-logic-pro/api.c index 8be8fb50..1648c952 100644 --- a/src/hardware/saleae-logic-pro/api.c +++ b/src/hardware/saleae-logic-pro/api.c @@ -399,9 +399,6 @@ static int dev_acquisition_stop(struct sr_dev_inst *sdi) struct dev_context *devc = sdi->priv; struct drv_context *drvc = sdi->driver->context; - if (sdi->status != SR_ST_ACTIVE) - return SR_ERR_DEV_CLOSED; - saleae_logic_pro_stop(sdi); std_session_send_df_end(sdi);