]> sigrok.org Git - libsigrok.git/commitdiff
arachnid-labs-re-load-pro: Index for channel "I"
authorFrank Stettner <redacted>
Fri, 5 Jan 2018 19:07:20 +0000 (20:07 +0100)
committerUwe Hermann <redacted>
Sat, 3 Mar 2018 18:25:05 +0000 (19:25 +0100)
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));