X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=strutil.c;h=f22cd59c27b380e173d0477eef5bd156f8a7b126;hb=cd2f0fe22c35dcf3b010411ff6f123701be2a2d6;hp=5ac9b71912a7ef1fa4a03f6fef784f5e6727313d;hpb=5edc02c77c3576a47ee85241f32785cdf0fdddf8;p=libsigrok.git diff --git a/strutil.c b/strutil.c index 5ac9b719..f22cd59c 100644 --- a/strutil.c +++ b/strutil.c @@ -230,7 +230,7 @@ SR_API char **sr_parse_triggerstring(const struct sr_dev_inst *sdi, return NULL; } - if (sdi->driver->info_get(SR_DI_TRIGGER_TYPES, + if (sdi->driver->config_list(SR_CONF_TRIGGER_TYPE, (const void **)&trigger_types, sdi) != SR_OK) { sr_err("%s: Device doesn't support any triggers.", __func__); return NULL;