]> sigrok.org Git - libsigrok.git/commit
input/csv: Fixup datafeed chunk size calculation
authorGerhard Sittig <redacted>
Fri, 9 Jun 2017 21:07:25 +0000 (23:07 +0200)
committerGerhard Sittig <redacted>
Fri, 9 Jun 2017 21:21:03 +0000 (23:21 +0200)
commitf027208ea7c058d482620af39be38835c045895f
tree3d3a2785bb2b8265d44135850860ddfe5d78a661
parentd05b1a860606e078eed77722d8a0c62850ee39af
input/csv: Fixup datafeed chunk size calculation

The constant at the top of the source file is the number of samples in a
datafeed submission chunk. The previous implementation erroneously made
it the size in bytes. There is no need to round down the buffer size
according to the unit size.
src/input/csv.c