dslogic: Removed trigger_fired option
This commit is contained in:
parent
658caaf0d1
commit
5e7e327ac8
|
@ -800,7 +800,7 @@ static void LIBUSB_CALL receive_transfer(struct libusb_transfer *transfer)
|
|||
} else {
|
||||
devc->empty_transfer_count = 0;
|
||||
}
|
||||
if (devc->trigger_fired) {
|
||||
|
||||
if (!devc->limit_samples || devc->sent_samples < devc->limit_samples) {
|
||||
/* Send the incoming transfer to the session bus. */
|
||||
if (devc->limit_samples && devc->sent_samples + cur_sample_count > devc->limit_samples)
|
||||
|
@ -832,7 +832,6 @@ static void LIBUSB_CALL receive_transfer(struct libusb_transfer *transfer)
|
|||
devc->sent_samples += num_samples;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (devc->limit_samples && devc->sent_samples >= devc->limit_samples) {
|
||||
abort_acquisition(devc);
|
||||
|
@ -912,7 +911,6 @@ static int start_transfers(const struct sr_dev_inst *sdi)
|
|||
devc->sent_samples = 0;
|
||||
devc->acq_aborted = FALSE;
|
||||
devc->empty_transfer_count = 0;
|
||||
devc->trigger_fired = TRUE;
|
||||
|
||||
num_transfers = get_number_of_transfers(devc);
|
||||
|
||||
|
|
|
@ -122,7 +122,6 @@ struct dev_context {
|
|||
uint64_t capture_ratio;
|
||||
|
||||
/* Operational settings */
|
||||
gboolean trigger_fired;
|
||||
gboolean acq_aborted;
|
||||
|
||||
unsigned int sent_samples;
|
||||
|
|
Loading…
Reference in New Issue