]> sigrok.org Git - libsigrok.git/commit
asix-sigma: Fixup the download of the last data acquisition chunk
authorGerhard Sittig <redacted>
Fri, 26 May 2017 00:18:33 +0000 (02:18 +0200)
committerUwe Hermann <redacted>
Fri, 26 May 2017 20:48:36 +0000 (22:48 +0200)
commit547c4cdc60ad5c463e37c57d82dd33111061ac86
tree51f80183f516febd97069ade34edb7f9aa15ee26
parent468f17f2d673ebf250f72fa114f261b86da1aab7
asix-sigma: Fixup the download of the last data acquisition chunk

Correctly determine the size of a download chunk for the last DRAM row
that's involved in the recent data acquisition.

This commit is based on work done by jry@.

This addresses bug #838 (trailing garbage).

It's assumed that the previously downloaded excess data was "swallowed"
by the sample count enforcement logic that was applied earlier, so the
(remainder of the) issue could have gone unnoticed, unless some other
termination condition than sample count was used.
src/hardware/asix-sigma/protocol.c