]> sigrok.org Git - libsigrok.git/blobdiff - hardware/fluke-dmm/api.c
Rename sr_probe_new() to sr_channel_new().
[libsigrok.git] / hardware / fluke-dmm / api.c
index 83aaad4c17381e9c734e5a5f707476a8748ebbb2..f2453aa2bf4439dcd3f9cb5ee7d0b256d1ccb27a 100644 (file)
@@ -135,7 +135,7 @@ static GSList *fluke_scan(const char *conn, const char *serialcomm)
                                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);