]> sigrok.org Git - sigrok-cli.git/commitdiff
Deprecate SR_DI_BUFFERSIZES.
authorBert Vermeulen <redacted>
Fri, 25 Jan 2013 10:00:53 +0000 (11:00 +0100)
committerBert Vermeulen <redacted>
Fri, 25 Jan 2013 10:00:53 +0000 (11:00 +0100)
sigrok-cli.c

index eaec7621e2fae536029ba7a22a6223441539c41a..0713b51ccda63247d9639ba7314e2ccb3f69062d 100644 (file)
@@ -412,7 +412,7 @@ static void show_dev_detail(void)
                } else if (srci->key == SR_CONF_BUFFERSIZE) {
                        /* Supported buffer sizes */
                        printf("    %s", srci->id);
-                       if (sr_info_get(sdi->driver, SR_DI_BUFFERSIZES,
+                       if (sr_config_list(sdi->driver, SR_CONF_BUFFERSIZE,
                                        (const void **)&integers, sdi) != SR_OK) {
                                printf("\n");
                                continue;