saleae-logic-pro: Use sr_dev_acquisition_stop() wrapper.

This commit is contained in:
Uwe Hermann 2017-07-17 08:25:27 +02:00
parent f2b8a31be5
commit 13d2ac54f4
1 changed files with 1 additions and 3 deletions

View File

@ -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;
}