X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=sigrok-cli.c;h=f48d08e36bc8a1ea82b00ed970b17ae796e967db;hb=2bedb9bfabb42230833528deedfb9e4e6bedba39;hp=18cd4a74039d138b2aa249ea3a0ae80e4e59a3cf;hpb=b4bd48e9e67aa84c8ecca1a982767a1969ce0d33;p=sigrok-cli.git diff --git a/sigrok-cli.c b/sigrok-cli.c index 18cd4a7..f48d08e 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -424,7 +424,7 @@ static void show_dev_detail(void) } else if (srci->key == SR_CONF_TIMEBASE) { /* Supported time bases */ printf(" %s", srci->id); - if (sr_info_get(sdi->driver, SR_DI_TIMEBASES, + if (sr_config_list(sdi->driver, SR_CONF_TIMEBASE, (const void **)&rationals, sdi) != SR_OK) { printf("\n"); continue;