X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fcem-dt-885x%2Fapi.c;h=e1e4b2e4895abb295fdabebc6d787ca857220f2f;hb=d43b090816f61e77d8054084e85202de1a1ebeb7;hp=f4c170de2c5d3d177fa7f16043d8d33f1c8e6d6c;hpb=37fa80b4be4808958340b56dc62265e2d4f14e85;p=libsigrok.git diff --git a/hardware/cem-dt-885x/api.c b/hardware/cem-dt-885x/api.c index f4c170de..e1e4b2e4 100644 --- a/hardware/cem-dt-885x/api.c +++ b/hardware/cem-dt-885x/api.c @@ -415,10 +415,8 @@ static int dev_acquisition_stop(struct sr_dev_inst *sdi, void *cb_data) if (sdi->status != SR_ST_ACTIVE) return SR_ERR_DEV_CLOSED; - return std_dev_acquisition_stop_serial(sdi, cb_data, std_serial_dev_close, + return std_serial_dev_acquisition_stop(sdi, cb_data, std_serial_dev_close, sdi->conn, LOG_PREFIX); - - return SR_OK; } SR_PRIV struct sr_dev_driver cem_dt_885x_driver_info = {