Deprecate SR_DI_TRIGGER_TYPES.
[sigrok-cli.git] / sigrok-cli.c
index c95cf8a0d16a8f9f7c278ac31a77d977f6b394f1..0bf2d20ec9940f3b5499e36ed7e6d8c6b2fa57e8 100644 (file)
@@ -332,7 +332,7 @@ static void show_dev_detail(void)
 
        print_dev_line(sdi);
 
-       if (sr_info_get(sdi->driver, SR_DI_TRIGGER_TYPES, (const void **)&charopts,
+       if (sr_config_list(sdi->driver, SR_CONF_TRIGGER_TYPE, (const void **)&charopts,
                        sdi) == SR_OK && charopts) {
                printf("Supported triggers: ");
                while (*charopts) {