X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fasix-sigma%2Fasix-sigma.c;h=0eaaf97621ce966c1fc1eea39af5c11a06c03c16;hb=dd7a4a71caf4a0c0a7d2a24b780cbdffd6602621;hp=c75fdffb961f0558c44722fcd0e43e11c961ec72;hpb=5a7d8dac9042e5db6f2e058f20d7344ad322d17a;p=libsigrok.git diff --git a/src/hardware/asix-sigma/asix-sigma.c b/src/hardware/asix-sigma/asix-sigma.c index c75fdffb..0eaaf976 100644 --- a/src/hardware/asix-sigma/asix-sigma.c +++ b/src/hardware/asix-sigma/asix-sigma.c @@ -1533,7 +1533,7 @@ static int dev_acquisition_stop(struct sr_dev_inst *sdi, void *cb_data) devc = sdi->priv; devc->state.state = SIGMA_IDLE; - sr_session_source_remove(sdi->session, 0); + sr_session_source_remove(sdi->session, -1); return SR_OK; }