From: Frank Stettner Date: Fri, 5 Jan 2018 19:07:20 +0000 (+0100) Subject: arachnid-labs-re-load-pro: Index for channel "I" X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=2153093941bf74b642d187552e16deb3315e1627;p=libsigrok.git arachnid-labs-re-load-pro: Index for channel "I" --- diff --git a/src/hardware/arachnid-labs-re-load-pro/api.c b/src/hardware/arachnid-labs-re-load-pro/api.c index 17cf45ee..5cef7758 100644 --- a/src/hardware/arachnid-labs-re-load-pro/api.c +++ b/src/hardware/arachnid-labs-re-load-pro/api.c @@ -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));