]> sigrok.org Git - pulseview.git/commitdiff
Device: Ignore some more false flags
authorSoeren Apel <redacted>
Tue, 21 Dec 2021 20:42:13 +0000 (21:42 +0100)
committerSoeren Apel <redacted>
Tue, 21 Dec 2021 20:42:13 +0000 (21:42 +0100)
pv/binding/device.cpp

index 7bbc1bbf52839618a3e5905a82bf29fb1794689c..d33802d0f571b4309646c356e7c7bb141050d871 100644 (file)
@@ -74,7 +74,9 @@ Device::Device(shared_ptr<sigrok::Configurable> 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' " \