projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca1d6d5
)
fix PulseView compilation with ENABLE_DECODE set to OFF
author
Martin Errenst
<imp@hannover.ccc.de>
Sat, 3 Feb 2018 23:57:07 +0000
(
00:57
+0100)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Sat, 10 Feb 2018 20:09:00 +0000
(21:09 +0100)
pv/views/trace/view.cpp
patch
|
blob
|
history
diff --git
a/pv/views/trace/view.cpp
b/pv/views/trace/view.cpp
index 6a9c01af731180378de18a45c9c3e2affe34286d..af15f1e49105f522e4eae124c9182623553c538b 100644
(file)
--- a/
pv/views/trace/view.cpp
+++ b/
pv/views/trace/view.cpp
@@
-562,8
+562,10
@@
void View::set_current_segment(uint32_t segment_id)
for (shared_ptr<Signal> signal : signals_)
signal->set_current_segment(current_segment_);
+#ifdef ENABLE_DECODE
for (shared_ptr<DecodeTrace> dt : decode_traces_)
dt->set_current_segment(current_segment_);
+#endif
vector<util::Timestamp> triggers = session_.get_triggers(current_segment_);