]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/arachnid-labs-re-load-pro/api.c
arachnid-labs-re-load-pro: Index for channel "I"
[libsigrok.git] / src / hardware / arachnid-labs-re-load-pro / api.c
index 17cf45ee75b86152746e04570f72533ae3f7bcc3..5cef7758314bda6cc5f56702e326874a5dbf5753 100644 (file)
@@ -155,7 +155,7 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options)
        ch = sr_channel_new(sdi, 0, SR_CHANNEL_ANALOG, TRUE, "V");
        cg->channels = g_slist_append(cg->channels, ch);
 
-       ch = sr_channel_new(sdi, 0, SR_CHANNEL_ANALOG, TRUE, "I");
+       ch = sr_channel_new(sdi, 1, SR_CHANNEL_ANALOG, TRUE, "I");
        cg->channels = g_slist_append(cg->channels, ch);
 
        devc = g_malloc0(sizeof(struct dev_context));