]> sigrok.org Git - libsigrok.git/blobdiff - hardware/brymen-dmm/api.c
Rename various *PROBE* macros to *CHANNEL*.
[libsigrok.git] / hardware / brymen-dmm / api.c
index 52b49a18a55888cf5d4ed6ad4558cf8053022a08..ca4a742c3ed36337273943dfd1dfcb432a886cf2 100644 (file)
@@ -89,7 +89,7 @@ static GSList *brymen_scan(const char *conn, const char *serialcomm)
        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")))
                goto scan_cleanup;
 
        sdi->channels = g_slist_append(sdi->channels, ch);