projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8849715
)
Hardcode maximum supported probes to 64 for now
author
Bert Vermeulen
<bert@biot.com>
Sat, 27 Apr 2013 16:20:14 +0000
(18:20 +0200)
committer
Bert Vermeulen
<bert@biot.com>
Sat, 27 Apr 2013 16:20:14 +0000
(18:20 +0200)
SR_MAX_NUM_PROBES disappeared from libsigrok.h, along with that
limitation.
pv/data/logicsnapshot.cpp
patch
|
blob
|
history
diff --git
a/pv/data/logicsnapshot.cpp
b/pv/data/logicsnapshot.cpp
index e6fd26e33b68f742a8547894487ddf7f719a5bd3..f77690e137d6ced0a17b3f54ba0edf18f3ee1b9d 100644
(file)
--- a/
pv/data/logicsnapshot.cpp
+++ b/
pv/data/logicsnapshot.cpp
@@
-188,7
+188,7
@@
void LogicSnapshot::get_subsampled_edges(
assert(start <= end);
assert(min_length > 0);
assert(sig_index >= 0);
- assert(sig_index <
SR_MAX_NUM_PROBES
);
+ assert(sig_index <
64
);
lock_guard<recursive_mutex> lock(_mutex);