X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=hardware%2Ffx2lafw%2Fapi.c;h=3242afcead486cb01dc4a7490d37101f6f4a4871;hp=0082d228be5a9d2521ed94b793c05c64346ed64f;hb=43cd4637285833706f8a404ca027bcf0ee75b9ae;hpb=0812c40e361c9a75f3b4ef318a57ce8ba0479fa1 diff --git a/hardware/fx2lafw/api.c b/hardware/fx2lafw/api.c index 0082d228..3242afce 100644 --- a/hardware/fx2lafw/api.c +++ b/hardware/fx2lafw/api.c @@ -576,7 +576,7 @@ static int dev_acquisition_start(const struct sr_dev_inst *sdi, void *cb_data) devc->ctx = drvc->sr_ctx; - usb_source_add(devc->ctx, timeout, receive_data, NULL); + usb_source_add(sdi->session, devc->ctx, timeout, receive_data, NULL); /* Send header packet to the session bus. */ std_session_send_df_header(cb_data, LOG_PREFIX);