]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/beaglelogic/api.c
Removal of sdi->index, step 4: fix trivial sr_dev_inst_new() calls
[libsigrok.git] / src / hardware / beaglelogic / api.c
index 8af44d1e6ffa140109162e42426311e4c6f84051..9abbbefc972e059b0aeaed04e13518182c789392 100644 (file)
@@ -97,7 +97,7 @@ static GSList *scan(GSList *options)
        if (!g_file_test(BEAGLELOGIC_DEV_NODE, G_FILE_TEST_EXISTS))
                return NULL;
 
-       sdi = sr_dev_inst_new(0, SR_ST_INACTIVE, NULL, "BeagleLogic", "1.0");
+       sdi = sr_dev_inst_new(SR_ST_INACTIVE, NULL, "BeagleLogic", "1.0");
        sdi->driver = di;
 
        /* Unless explicitly specified, keep max channels to 8 only */