]> sigrok.org Git - pulseview.git/blobdiff - pv/device/device.cpp
Update for 'probe' -> 'channel' rename in libsigrok.
[pulseview.git] / pv / device / device.cpp
index e70be02592f0c58e3c2b59340068b39478f94842..4f9a7799539b5e125b01e0a1591ac8c165da7414 100644 (file)
@@ -91,8 +91,8 @@ std::string Device::format_device_title() const
 bool Device::is_trigger_enabled() const
 {
        assert(_sdi);
-       for (const GSList *l = _sdi->probes; l; l = l->next) {
-               const sr_probe *const p = (const sr_probe *)l->data;
+       for (const GSList *l = _sdi->channels; 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;