]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/fx2lafw/api.c
fx2lafw: silence error message in query for channel group's device options
[libsigrok.git] / src / hardware / fx2lafw / api.c
index e0a11a5be5aef8be0dce379d650ec57c9703ce7a..dc085266d1129236d1eca0bfb3f32d76c0acd647 100644 (file)
@@ -541,6 +541,8 @@ static int config_list(uint32_t key, GVariant **data,
        switch (key) {
        case SR_CONF_SCAN_OPTIONS:
        case SR_CONF_DEVICE_OPTIONS:
+               if (cg)
+                       return SR_ERR_NA;
                return STD_CONFIG_LIST(key, data, sdi, cg, scanopts, drvopts, devopts);
        case SR_CONF_SAMPLERATE:
                if (!devc)