X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fatten-pps3xxx%2Fapi.c;h=1768f842969c5d072a8fd0c04133b8402c167cdd;hb=d2f7c417fdd96a13d8fd86350d2fc13db16f626c;hp=01c0d369a490adb6a8983d3f3f5f5a69913a050e;hpb=6ad2fbaad2722f0aa18c3600cdbdddf812784b2d;p=libsigrok.git diff --git a/src/hardware/atten-pps3xxx/api.c b/src/hardware/atten-pps3xxx/api.c index 01c0d369..1768f842 100644 --- a/src/hardware/atten-pps3xxx/api.c +++ b/src/hardware/atten-pps3xxx/api.c @@ -466,9 +466,6 @@ static int dev_acquisition_stop(struct sr_dev_inst *sdi) { struct dev_context *devc; - if (sdi->status != SR_ST_ACTIVE) - return SR_ERR_DEV_CLOSED; - devc = sdi->priv; devc->acquisition_running = FALSE;