projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69e33a1
)
session: make sure signals set is initialized
author
Stefan Brüns
<stefan.bruens@rwth-aachen.de>
Fri, 27 Nov 2015 00:20:13 +0000
(
01:20
+0100)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Mon, 21 Dec 2015 14:38:57 +0000
(15:38 +0100)
This fixes parts of bug #387.
pv/session.cpp
patch
|
blob
|
history
diff --git
a/pv/session.cpp
b/pv/session.cpp
index ef1159ee599f8abfbf0a7e6b90d6c100eeef3f44..0ac5bb7286dbe2cd6c76dbd07ca967ec2d289176 100644
(file)
--- a/
pv/session.cpp
+++ b/
pv/session.cpp
@@
-579,6
+579,10
@@
void Session::feed_in_analog(shared_ptr<Analog> analog)
const float *data = static_cast<const float *>(analog->data_pointer());
bool sweep_beginning = false;
+ if (signals_.empty()) {
+ update_signals();
+ }
+
for (auto channel : channels)
{
shared_ptr<data::AnalogSegment> segment;