]> sigrok.org Git - libsigrok.git/commit
hantek-dso: dso2250: Fix capture runaway, only do the requested number of frames.
authorPhilipp Marek <redacted>
Wed, 20 Dec 2017 15:10:59 +0000 (16:10 +0100)
committerUwe Hermann <redacted>
Thu, 11 Jan 2018 01:21:50 +0000 (02:21 +0100)
commit8f484ca78ef8603f854ad80df02f251631dc1330
tree318d2dfaf1e836c5692d9298c5a8e03b38257b97
parent12f62ce62094500250062c4d0d0b78deeb303ec9
hantek-dso: dso2250: Fix capture runaway, only do the requested number of frames.

After the first capture ->num_frames never got to be _equal_
to ->limit_frames; fixed by resetting to zero in dev_acquisition_stop(),
and protected against similar problems in the future by switching to
greater-or-equal instead.
src/hardware/hantek-dso/api.c