X-Git-Url: http://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdevice%2Fdevice.cpp;fp=pv%2Fdevice%2Fdevice.cpp;h=4f9a7799539b5e125b01e0a1591ac8c165da7414;hp=e70be02592f0c58e3c2b59340068b39478f94842;hb=4871ed92f2d9e6e514223383ba16e6ad78c81161;hpb=2445160a5d1eb98196d2a1d57246d4c37dd13811 diff --git a/pv/device/device.cpp b/pv/device/device.cpp index e70be025..4f9a7799 100644 --- 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); - 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;