]> sigrok.org Git - libsigrok.git/blobdiff - hardware/uni-t-dmm/api.c
Consistently use 'cg' for channel group variables.
[libsigrok.git] / hardware / uni-t-dmm / api.c
index a91af6cc02da640a232f7f037bf8bed59d6e399b..2ec99ca176c3e568d6f567bfb808953f0f461234 100644 (file)
@@ -272,11 +272,11 @@ static int cleanup(int dmm)
 }
 
 static int config_set(int id, GVariant *data, const struct sr_dev_inst *sdi,
-               const struct sr_channel_group *channel_group)
+               const struct sr_channel_group *cg)
 {
        struct dev_context *devc;
 
-       (void)channel_group;
+       (void)cg;
 
        devc = sdi->priv;
 
@@ -307,10 +307,10 @@ 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_channel_group *channel_group)
+               const struct sr_channel_group *cg)
 {
        (void)sdi;
-       (void)channel_group;
+       (void)cg;
 
        switch (key) {
        case SR_CONF_SCAN_OPTIONS: