From: Uwe Hermann Date: Mon, 17 Jul 2017 06:25:27 +0000 (+0200) Subject: saleae-logic-pro: Use sr_dev_acquisition_stop() wrapper. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=13d2ac54f4232caf768268817c8cbb2f64dcb0db;p=libsigrok.git saleae-logic-pro: Use sr_dev_acquisition_stop() wrapper. --- diff --git a/src/hardware/saleae-logic-pro/api.c b/src/hardware/saleae-logic-pro/api.c index a7cd83d7..c9819315 100644 --- a/src/hardware/saleae-logic-pro/api.c +++ b/src/hardware/saleae-logic-pro/api.c @@ -395,8 +395,6 @@ static void dev_acquisition_abort(const struct sr_dev_inst *sdi) } } -static int dev_acquisition_stop(struct sr_dev_inst *sdi); - static int dev_acquisition_handle(int fd, int revents, void *cb_data) { struct sr_dev_inst *sdi = cb_data; @@ -409,7 +407,7 @@ static int dev_acquisition_handle(int fd, int revents, void *cb_data) /* Handle timeout */ if (!revents) - dev_acquisition_stop(sdi); + sr_dev_acquisition_stop(sdi); return TRUE; }