X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=hardware%2Fvictor-dmm%2Fapi.c;h=55c074d9c55f80dec21e0f9607a88e446097dd6d;hp=6da326f635e8edae5708df51b7bc8a038c802146;hb=56d0d24535700fb53e47a25ad5c73d34697695fa;hpb=ba7dd8bbb8168cba432a844259a3e239aa5f36d7 diff --git a/hardware/victor-dmm/api.c b/hardware/victor-dmm/api.c index 6da326f6..55c074d9 100644 --- a/hardware/victor-dmm/api.c +++ b/hardware/victor-dmm/api.c @@ -88,7 +88,7 @@ static GSList *scan(GSList *options) return NULL; sdi->priv = devc; - if (!(ch = sr_probe_new(0, SR_PROBE_ANALOG, TRUE, "P1"))) + if (!(ch = sr_channel_new(0, SR_PROBE_ANALOG, TRUE, "P1"))) return NULL; sdi->channels = g_slist_append(NULL, ch);