]> sigrok.org Git - libsigrok.git/commit
ols: Properly initialize entire single-sample buffer before start
authorBert Vermeulen <redacted>
Mon, 26 Aug 2013 21:42:09 +0000 (23:42 +0200)
committerBert Vermeulen <redacted>
Mon, 26 Aug 2013 21:42:09 +0000 (23:42 +0200)
commitabb39e6b8c9f2d512920dce440c0d8dd7a9a90f0
tree91e3b7bf47eaedc087864c5301746c9316b2fca3
parenteb1b610b1281bd83cb4dbd02b2eccdf4888bb093
ols: Properly initialize entire single-sample buffer before start

The single sample buffer, up to 4 bytes long, was not getting initialized
on (every) acquisition start, only after the first full sample was in.
This caused the first sample to potentially hold garbage.
hardware/openbench-logic-sniffer/api.c