X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=inline;f=hardware%2Fikalogic-scanaplus%2Fapi.c;fp=hardware%2Fikalogic-scanaplus%2Fapi.c;h=369aed470b11c475a7366b4bd7347c7d631331a9;hb=56d0d24535700fb53e47a25ad5c73d34697695fa;hp=07ef3df335b43d7bf86fdcdc5f0fe1e6836220ef;hpb=ba7dd8bbb8168cba432a844259a3e239aa5f36d7;p=libsigrok.git diff --git a/hardware/ikalogic-scanaplus/api.c b/hardware/ikalogic-scanaplus/api.c index 07ef3df3..369aed47 100644 --- a/hardware/ikalogic-scanaplus/api.c +++ b/hardware/ikalogic-scanaplus/api.c @@ -133,7 +133,7 @@ static GSList *scan(GSList *options) sdi->priv = devc; for (i = 0; channel_names[i]; i++) { - if (!(ch = sr_probe_new(i, SR_PROBE_LOGIC, TRUE, + if (!(ch = sr_channel_new(i, SR_PROBE_LOGIC, TRUE, channel_names[i]))) return NULL; sdi->channels = g_slist_append(sdi->channels, ch);