fx2lafw: Fix sample count.
This commit is contained in:
parent
a989cdbe03
commit
649e9e1677
|
@ -457,7 +457,7 @@ SR_PRIV void fx2lafw_receive_transfer(struct libusb_transfer *transfer)
|
|||
logic.unitsize = unitsize;
|
||||
logic.data = transfer->buffer;
|
||||
sr_session_send(devc->cb_data, &packet);
|
||||
devc->sent_samples += cur_sample_count;
|
||||
devc->sent_samples += num_samples;
|
||||
}
|
||||
} else {
|
||||
trigger_offset = soft_trigger_logic_check(devc->stl,
|
||||
|
|
Loading…
Reference in New Issue