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
/
device.cpp
diff --git
a/pv/device/device.cpp
b/pv/device/device.cpp
index e70be02592f0c58e3c2b59340068b39478f94842..4f9a7799539b5e125b01e0a1591ac8c165da7414 100644
(file)
--- a/
pv/device/device.cpp
+++ b/
pv/device/device.cpp
@@
-91,8
+91,8
@@
std::string Device::format_device_title() const
bool Device::is_trigger_enabled() const
{
assert(_sdi);
bool Device::is_trigger_enabled() const
{
assert(_sdi);
- for (const GSList *l = _sdi->
probe
s; l; l = l->next) {
- const sr_
probe *const p = (const sr_probe
*)l->data;
+ for (const GSList *l = _sdi->
channel
s; l; l = l->next) {
+ const sr_
channel *const p = (const sr_channel
*)l->data;
assert(p);
if (p->trigger && p->trigger[0] != '\0')
return true;
assert(p);
if (p->trigger && p->trigger[0] != '\0')
return true;