From: Bert Vermeulen Date: Thu, 9 Jan 2014 13:00:53 +0000 (+0100) Subject: ikalogic-scanalogic2: Publish SR_CONF_MAX_UNCOMPRESSED_SAMPLES. X-Git-Tag: libsigrok-0.3.0~326 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=c2b988bd4a1986c15a0ffc8a38b3aa56d1a68c89;p=libsigrok.git ikalogic-scanalogic2: Publish SR_CONF_MAX_UNCOMPRESSED_SAMPLES. --- diff --git a/hardware/ikalogic-scanalogic2/api.c b/hardware/ikalogic-scanalogic2/api.c index a91afdbb..2329486e 100644 --- a/hardware/ikalogic-scanalogic2/api.c +++ b/hardware/ikalogic-scanalogic2/api.c @@ -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; }