]> sigrok.org Git - libsigrok.git/blobdiff - hardware/uni-t-dmm/api.c
Rename sr_probe_new() to sr_channel_new().
[libsigrok.git] / hardware / uni-t-dmm / api.c
index be6c5e2af085b34de3e21e9039b97da3f1b78560..7aed4e1386d94e9b98dcba4766e07e26bdf95d2f 100644 (file)
@@ -221,7 +221,7 @@ static GSList *scan(GSList *options, int dmm)
                }
                sdi->priv = devc;
                sdi->driver = udmms[dmm].di;
-               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(sdi->channels, ch);