projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
memaccess.cmake: Cosmetics, whitespace, consistency fixes.
[pulseview.git]
/
pv
/
sigsession.cpp
diff --git
a/pv/sigsession.cpp
b/pv/sigsession.cpp
index 5da1551fc51cee4e1e5e3f539654359280933c37..10ea4ffbea6dc1ad4e171b9054289e938fad66f0 100644
(file)
--- a/
pv/sigsession.cpp
+++ b/
pv/sigsession.cpp
@@
-645,7
+645,7
@@
void SigSession::feed_in_logic(const sr_datafeed_logic &logic)
// Create a new data snapshot
_cur_logic_snapshot = shared_ptr<data::LogicSnapshot>(
// Create a new data snapshot
_cur_logic_snapshot = shared_ptr<data::LogicSnapshot>(
- new data::LogicSnapshot(logic));
+ new data::LogicSnapshot(logic
, _dev_inst->get_sample_limit()
));
_logic_data->push_snapshot(_cur_logic_snapshot);
}
else
_logic_data->push_snapshot(_cur_logic_snapshot);
}
else
@@
-687,7
+687,7
@@
void SigSession::feed_in_analog(const sr_datafeed_analog &analog)
// Create a snapshot, keep it in the maps of probes
snapshot = shared_ptr<data::AnalogSnapshot>(
// Create a snapshot, keep it in the maps of probes
snapshot = shared_ptr<data::AnalogSnapshot>(
- new data::AnalogSnapshot());
+ new data::AnalogSnapshot(
_dev_inst->get_sample_limit()
));
_cur_analog_snapshots[probe] = snapshot;
// Find the annalog data associated with the probe
_cur_analog_snapshots[probe] = snapshot;
// Find the annalog data associated with the probe