X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=blobdiff_plain;f=show.c;h=d43c716ba52d4bde79af35b89af38d885a7c7268;hp=a5999a2b434d37a93c2f57de57a1f1f996aac5ea;hb=28b0b84e7ac805ab5a5c40191012d2739e550c74;hpb=6f7b4c5d7eb49642f8221a85ee6987751fcd81ce diff --git a/show.c b/show.c index a5999a2..d43c716 100644 --- a/show.c +++ b/show.c @@ -389,7 +389,7 @@ void show_dev_detail(void) g_variant_unref(gvar_list); } else if (key == SR_CONF_LIMIT_SAMPLES - && config_key_has_cap(driver, sdi, cg, key, SR_CONF_LIST)) { + && config_key_has_cap(driver, sdi, NULL, key, SR_CONF_LIST)) { /* If implemented in config_list(), this denotes the * maximum number of samples a device can send. This * really applies only to logic analyzers, and then