]> sigrok.org Git - libsigrok.git/blobdiff - device.c
Replace 'probe group' with 'channel group' everywhere.
[libsigrok.git] / device.c
index 212ddb7dc91c1f6289f4f09cc2753dd520fb8efa..c01bc92f09d0fd8f772c6ff6ee52016632ff1218 100644 (file)
--- a/device.c
+++ b/device.c
@@ -285,7 +285,7 @@ SR_PRIV struct sr_dev_inst *sr_dev_inst_new(int index, int status,
        sdi->model = model ? g_strdup(model) : NULL;
        sdi->version = version ? g_strdup(version) : NULL;
        sdi->probes = NULL;
-       sdi->probe_groups = NULL;
+       sdi->channel_groups = NULL;
        sdi->conn = NULL;
        sdi->priv = NULL;
 
@@ -309,8 +309,8 @@ SR_PRIV void sr_dev_inst_free(struct sr_dev_inst *sdi)
        }
        g_slist_free(sdi->probes);
 
-       if (sdi->probe_groups)
-               g_slist_free(sdi->probe_groups);
+       if (sdi->channel_groups)
+               g_slist_free(sdi->channel_groups);
 
        g_free(sdi->vendor);
        g_free(sdi->model);