projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cef1ea
)
Fixed LongPulses test packet setup
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sun, 13 Jan 2013 13:42:36 +0000
(13:42 +0000)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sun, 13 Jan 2013 13:42:50 +0000
(13:42 +0000)
The length field is now populated with the number of bytes rather
than the number of samples
test/data/logicsnapshot.cpp
patch
|
blob
|
history
diff --git
a/test/data/logicsnapshot.cpp
b/test/data/logicsnapshot.cpp
index 951e3845b1d5651d2c739bbf88d35261965b9477..3e3ff2f959da2577b2e21d3083c44146bbeddc34 100644
(file)
--- a/
test/data/logicsnapshot.cpp
+++ b/
test/data/logicsnapshot.cpp
@@
-348,7
+348,7
@@
BOOST_AUTO_TEST_CASE(LongPulses)
//----- Create a LogicSnapshot -----//
sr_datafeed_logic logic;
logic.unitsize = 8;
- logic.length = Length;
+ logic.length = Length
* 8
;
logic.data = (uint64_t*)new uint64_t[Length];
uint64_t *p = (uint64_t*)logic.data;