]> sigrok.org Git - libsigrok.git/blobdiff - hardware/teleinfo/api.c
Removed obsolete sr_filter_channels().
[libsigrok.git] / hardware / teleinfo / api.c
index 0a490729e85cc4ef95e82fb26125789a4790b00e..931e5994cd40927bbd490b30a3be3c9d3701b9cd 100644 (file)
@@ -92,7 +92,7 @@ static GSList *scan(GSList *options)
 
        sr_info("Found device on port %s.", conn);
 
-       if (!(sdi = sr_dev_inst_new(0, SR_ST_INACTIVE, "EDF", "Teleinfo", "")))
+       if (!(sdi = sr_dev_inst_new(0, SR_ST_INACTIVE, "EDF", "Teleinfo", NULL)))
                goto scan_cleanup;
 
        if (!(devc = g_try_malloc0(sizeof(struct dev_context)))) {