]> sigrok.org Git - libsigrok.git/blobdiff - hardware/agilent-dmm/api.c
Rename various *PROBE* macros to *CHANNEL*.
[libsigrok.git] / hardware / agilent-dmm / api.c
index bbe4c71f08b4f06616c00ae0014f3231846a8946..ccc2f65cd5ccaaa893c42e0f507aa6d531b0ed3d 100644 (file)
@@ -141,7 +141,7 @@ static GSList *scan(GSList *options)
                        sdi->conn = serial;
                        sdi->priv = devc;
                        sdi->driver = di;
-                       if (!(ch = sr_channel_new(0, SR_PROBE_ANALOG, TRUE, "P1")))
+                       if (!(ch = sr_channel_new(0, SR_CHANNEL_ANALOG, TRUE, "P1")))
                                return NULL;
                        sdi->channels = g_slist_append(sdi->channels, ch);
                        drvc->instances = g_slist_append(drvc->instances, sdi);