]> sigrok.org Git - libsigrok.git/commitdiff
ikalogic-scanalogic2: Publish SR_CONF_MAX_UNCOMPRESSED_SAMPLES.
authorBert Vermeulen <redacted>
Thu, 9 Jan 2014 13:00:53 +0000 (14:00 +0100)
committerBert Vermeulen <redacted>
Thu, 9 Jan 2014 13:00:53 +0000 (14:00 +0100)
hardware/ikalogic-scanalogic2/api.c

index a91afdbb40a730e94843f914169333b1b3140ed4..2329486e50e2abe533f4188c0ffd8705342462ce 100644 (file)
@@ -325,6 +325,9 @@ static int config_get(int key, GVariant **data, const struct sr_dev_inst *sdi,
        case SR_CONF_CAPTURE_RATIO:
                *data = g_variant_new_uint64(devc->capture_ratio);
                break;
+       case SR_CONF_MAX_UNCOMPRESSED_SAMPLES:
+               *data = g_variant_new_uint64(MAX_SAMPLES);
+               break;
        default:
                return SR_ERR_NA;
        }