Deprecate SR_DI_HWCAPS.
authorBert Vermeulen <bert@biot.com>
Fri, 25 Jan 2013 14:02:30 +0000 (15:02 +0100)
committerBert Vermeulen <bert@biot.com>
Fri, 25 Jan 2013 14:02:30 +0000 (15:02 +0100)
sigrok-cli.c

index 0bf2d20ec9940f3b5499e36ed7e6d8c6b2fa57e8..6feabd4df3838e281dda077a76007537f2976a7f 100644 (file)
@@ -353,7 +353,7 @@ static void show_dev_detail(void)
        }
 
        title = "Supported device options:\n";
        }
 
        title = "Supported device options:\n";
-       if ((sr_info_get(sdi->driver, SR_DI_HWCAPS, (const void **)&hwcaps,
+       if ((sr_config_list(sdi->driver, SR_CONF_DEVICE_OPTIONS, (const void **)&hwcaps,
                        NULL) != SR_OK) || !hwcaps)
                /* Driver supports no device instance options. */
                return;
                        NULL) != SR_OK) || !hwcaps)
                /* Driver supports no device instance options. */
                return;