From: Uwe Hermann Date: Fri, 14 Mar 2014 20:32:32 +0000 (+0100) Subject: new-driver: Change 'probe_group' to 'channel_group'. X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=commitdiff_plain;h=d73e0933046c580cc6d52f7099364a2af6ce141f new-driver: Change 'probe_group' to 'channel_group'. This is an update related to bug #259. --- diff --git a/source/drv-api.c b/source/drv-api.c index 8bfe5fd..26707b3 100644 --- a/source/drv-api.c +++ b/source/drv-api.c @@ -86,13 +86,13 @@ static int cleanup(void) } static int config_get(int key, GVariant **data, const struct sr_dev_inst *sdi, - const struct sr_probe_group *probe_group) + const struct sr_channel_group *cg) { int ret; (void)sdi; (void)data; - (void)probe_group; + (void)cg; ret = SR_OK; switch (key) { @@ -105,12 +105,12 @@ static int config_get(int key, GVariant **data, const struct sr_dev_inst *sdi, } static int config_set(int key, GVariant *data, const struct sr_dev_inst *sdi, - const struct sr_probe_group *probe_group) + const struct sr_channel_group *cg) { int ret; (void)data; - (void)probe_group; + (void)cg; if (sdi->status != SR_ST_ACTIVE) return SR_ERR_DEV_CLOSED; @@ -126,13 +126,13 @@ static int config_set(int key, 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 *cg) { int ret; (void)sdi; (void)data; - (void)probe_group; + (void)cg; ret = SR_OK; switch (key) {