ikalogic-scanalogic2: Publish SR_CONF_MAX_UNCOMPRESSED_SAMPLES.

This commit is contained in:
Bert Vermeulen 2014-01-09 14:00:53 +01:00
parent 7730e4f002
commit c2b988bd4a
1 changed files with 3 additions and 0 deletions

View 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;
}