]> sigrok.org Git - libsigrok.git/blobdiff - hardware/norma-dmm/api.c
Rename sr_probe_new() to sr_channel_new().
[libsigrok.git] / hardware / norma-dmm / api.c
index 652e7bef312453684b51edba73639292748537a4..7a98f9589f39eeade446246481375468fedad4d9 100644 (file)
@@ -128,7 +128,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,
+                       if (!(ch = sr_channel_new(0, SR_PROBE_ANALOG, TRUE,
                                "P1")))
                                return NULL;
                        sdi->channels = g_slist_append(sdi->channels, ch);