]> sigrok.org Git - libsigrok.git/blobdiff - hardware/ikalogic-scanaplus/api.c
Replace 'probe group' with 'channel group' everywhere.
[libsigrok.git] / hardware / ikalogic-scanaplus / api.c
index ba5b1b1103c8cc9571f5266f9483d15171ad7cbb..a0efca8d3e22758e35ba4eb1ecfdeba7485a978c 100644 (file)
@@ -280,10 +280,10 @@ static int cleanup(void)
 }
 
 static int config_get(int id, GVariant **data, const struct sr_dev_inst *sdi,
-               const struct sr_probe_group *probe_group)
+               const struct sr_channel_group *channel_group)
 {
        (void)sdi;
-       (void)probe_group;
+       (void)channel_group;
 
        switch (id) {
        case SR_CONF_SAMPLERATE:
@@ -298,11 +298,11 @@ static int config_get(int id, GVariant **data, const struct sr_dev_inst *sdi,
 }
 
 static int config_set(int id, GVariant *data, const struct sr_dev_inst *sdi,
-               const struct sr_probe_group *probe_group)
+               const struct sr_channel_group *channel_group)
 {
        struct dev_context *devc;
 
-       (void)probe_group;
+       (void)channel_group;
 
        if (sdi->status != SR_ST_ACTIVE)
                return SR_ERR_DEV_CLOSED;
@@ -335,13 +335,13 @@ static int config_set(int id, GVariant *data, const struct sr_dev_inst *sdi,
 }
 
 static int config_list(int key, GVariant **data, const struct sr_dev_inst *sdi,
-               const struct sr_probe_group *probe_group)
+               const struct sr_channel_group *channel_group)
 {
        GVariant *gvar;
        GVariantBuilder gvb;
 
        (void)sdi;
-       (void)probe_group;
+       (void)channel_group;
 
        switch (key) {
        case SR_CONF_DEVICE_OPTIONS: