X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdevice%2Fdevice.cpp;h=c6fc5bbe2fa037d0e221cabe3449302d0ccf38b9;hp=4a30e5fcd75c3bb12df003096888c6c16dd116aa;hb=b1e8c93d824986328a34d1c36273cb534fd65307;hpb=512bfc565937c0c1b07ec0e6486831526a6e1eee diff --git a/pv/device/device.cpp b/pv/device/device.cpp index 4a30e5fc..c6fc5bbe 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