X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdevice%2Fdevice.cpp;h=c6fc5bbe2fa037d0e221cabe3449302d0ccf38b9;hb=496b72053bbf902955643f0deba694073facf8fe;hp=4a30e5fcd75c3bb12df003096888c6c16dd116aa;hpb=f9abf97e78bc4825d80926b0ebc6cbaef40768b1;p=pulseview.git diff --git a/pv/device/device.cpp b/pv/device/device.cpp index 4a30e5f..c6fc5bb 100644 --- a/pv/device/device.cpp +++ b/pv/device/device.cpp @@ -89,17 +89,5 @@ std::string Device::format_device_title() const return s.str(); } -bool Device::is_trigger_enabled() const -{ - assert(_sdi); - 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; - } - return false; -} - } // device } // pv