]> sigrok.org Git - libsigrok.git/blobdiff - hardware/agilent-dmm/api.c
Rename sr_probe_new() to sr_channel_new().
[libsigrok.git] / hardware / agilent-dmm / api.c
index c358640da3687eee9f9cc75baae1522946659928..bbe4c71f08b4f06616c00ae0014f3231846a8946 100644 (file)
@@ -141,7 +141,7 @@ static GSList *scan(GSList *options)
                        sdi->conn = serial;
                        sdi->priv = devc;
                        sdi->driver = 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);
                        drvc->instances = g_slist_append(drvc->instances, sdi);