]> sigrok.org Git - libsigrok.git/commit
ols: Fix RLE count handling
authorBert Vermeulen <redacted>
Mon, 26 Aug 2013 22:33:20 +0000 (00:33 +0200)
committerBert Vermeulen <redacted>
Mon, 26 Aug 2013 22:33:20 +0000 (00:33 +0200)
commit00d04d3b0eca2898409fe78b33c1bbf177cd8504
tree5150b18970489c26ef85379cae8beac424dd1773
parentabb39e6b8c9f2d512920dce440c0d8dd7a9a90f0
ols: Fix RLE count handling

The high bit of the sample, denoting this is a count, was not getting
properly cleared. This resulted in an inevitably negative count, and
corruption of the sample buffer before it was transferred to the
frontend.
hardware/openbench-logic-sniffer/protocol.c
hardware/openbench-logic-sniffer/protocol.h