From: Soeren Apel Date: Tue, 21 Dec 2021 20:42:13 +0000 (+0100) Subject: Device: Ignore some more false flags X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=6e8abc5e2d8a64f68fb5a49ee29bb36b86e60a9f;p=pulseview.git Device: Ignore some more false flags --- diff --git a/pv/binding/device.cpp b/pv/binding/device.cpp index 7bbc1bbf..d33802d0 100644 --- a/pv/binding/device.cpp +++ b/pv/binding/device.cpp @@ -74,7 +74,9 @@ Device::Device(shared_ptr configurable) : // Ignore common read-only keys if ((key->id() == SR_CONF_CONTINUOUS) || (key->id() == SR_CONF_TRIGGER_MATCH) || - (key->id() == SR_CONF_CONN) || (key->id() == SR_CONF_SERIALCOMM)) + (key->id() == SR_CONF_CONN) || (key->id() == SR_CONF_SERIALCOMM) || (key->id() == SR_CONF_NUM_LOGIC_CHANNELS) || + (key->id() == SR_CONF_NUM_ANALOG_CHANNELS) || (key->id() == SR_CONF_SESSIONFILE) || (key->id() == SR_CONF_CAPTUREFILE) || + (key->id() == SR_CONF_CAPTURE_UNITSIZE)) continue; qDebug() << QString(tr("Note for device developers: Ignoring device configuration capability '%1' " \