]> sigrok.org Git - pulseview.git/commit
Fixed usage of sr_datafeed_logic::length
authorJoel Holdsworth <redacted>
Sun, 13 Jan 2013 11:55:51 +0000 (11:55 +0000)
committerJoel Holdsworth <redacted>
Sun, 13 Jan 2013 11:57:03 +0000 (11:57 +0000)
commit5cef1ea3c6a3ed3851c631354bf9168a154179dc
treeee5b6b2404c3e2b376db55a6f4c6847ed4c2d03b
parent3f96c34aa5735b72a8c2a48d24ad38b1d9898933
Fixed usage of sr_datafeed_logic::length

The length field is a measure of bytes not samples. The previous
usage would fail unless the unitsize was set to 1.
pv/data/logicsnapshot.cpp