asix-sigma: Quickfix for an ASIX SIGMA issue.
It's not entirely clear whether this is the right fix, but we're merging it for now, pending later review. See also: http://sigrok.org/bugzilla/show_bug.cgi?id=26
This commit is contained in:
parent
b36e715395
commit
dc890b8f9f
|
@ -1067,7 +1067,9 @@ static int receive_data(int fd, int revents, void *cb_data)
|
|||
else
|
||||
hw_dev_acquisition_stop(sdi, sdi);
|
||||
|
||||
} else if (devc->state.state == SIGMA_DOWNLOAD) {
|
||||
}
|
||||
|
||||
if (devc->state.state == SIGMA_DOWNLOAD) {
|
||||
if (devc->state.chunks_downloaded >= numchunks) {
|
||||
/* End of samples. */
|
||||
packet.type = SR_DF_END;
|
||||
|
|
Loading…
Reference in New Issue