projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update for 'probe' -> 'channel' rename in libsigrok.
[pulseview.git]
/
pv
/
device
/
devinst.cpp
diff --git
a/pv/device/devinst.cpp
b/pv/device/devinst.cpp
index f85c6f5e0dd7ea8756784521f6eca36df2e60af8..4543e5c81d8dba5cf212918bdb31cfa199e6476d 100644
(file)
--- a/
pv/device/devinst.cpp
+++ b/
pv/device/devinst.cpp
@@
-90,14
+90,14
@@
GVariant* DevInst::list_config(const sr_channel_group *group, int key)
return data;
}
return data;
}
-void DevInst::enable_probe(const sr_
probe
*probe, bool enable)
+void DevInst::enable_probe(const sr_
channel
*probe, bool enable)
{
assert(_owner);
sr_dev_inst *const sdi = dev_inst();
assert(sdi);
{
assert(_owner);
sr_dev_inst *const sdi = dev_inst();
assert(sdi);
- for (const GSList *p = sdi->
probe
s; p; p = p->next)
+ for (const GSList *p = sdi->
channel
s; p; p = p->next)
if (probe == p->data) {
if (probe == p->data) {
- const_cast<sr_
probe
*>(probe)->enabled = enable;
+ const_cast<sr_
channel
*>(probe)->enabled = enable;
config_changed();
return;
}
config_changed();
return;
}