X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=blobdiff_plain;f=show.c;fp=show.c;h=54b367c909a98046d11d25b8dc34cb53e6bf73ed;hp=39db85f58cff515abd86b1bc1b40b047c1ba0cd9;hb=09fc39da486b8618d65b66ca96a760478c3e89e2;hpb=c7639c1d63d85687618087acdbf5279b94c24117 diff --git a/show.c b/show.c index 39db85f..54b367c 100644 --- a/show.c +++ b/show.c @@ -241,7 +241,7 @@ void show_drv_detail(struct sr_dev_driver *driver) g_array_free(opts, TRUE); } - if ((opts = sr_driver_scan_options(driver))) { + if ((opts = sr_driver_scan_options_list(driver))) { if (opts->len > 0) { printf("Scan options:\n"); for (i = 0; i < opts->len; i++) { @@ -386,7 +386,7 @@ void show_dev_detail(void) g_variant_unref(gvar_list); } else if (key == SR_CONF_LIMIT_SAMPLES - && (sr_dev_config_capabilities(sdi, NULL, key) + && (sr_dev_config_capabilities_list(sdi, NULL, key) & SR_CONF_LIST)) { /* * If implemented in config_list(), this denotes the