X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fsaleae-logic%2Fsaleae-logic.c;h=81ef3e8c7a96188d3457e308e7afa60e22dcd2df;hb=6f1be0a2d40b3998abd8d10b5479e4538bc4ff1e;hp=4d3e718fbc65d260358d1bfe846e93d9dec11c19;hpb=77b454421a2aa7d52873f036e5ba5f8030fe29a3;p=libsigrok.git diff --git a/hardware/saleae-logic/saleae-logic.c b/hardware/saleae-logic/saleae-logic.c index 4d3e718f..81ef3e8c 100644 --- a/hardware/saleae-logic/saleae-logic.c +++ b/hardware/saleae-logic/saleae-logic.c @@ -704,8 +704,8 @@ static int hw_start_acquisition(int device_index, gpointer session_device_id) lupfd = libusb_get_pollfds(usb_context); for (i = 0; lupfd[i]; i++) - source_add(lupfd[i]->fd, lupfd[i]->events, 40, receive_data, - NULL); + sr_source_add(lupfd[i]->fd, lupfd[i]->events, 40, receive_data, + NULL); free(lupfd); packet->type = SR_DF_HEADER;