X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=blobdiff_plain;f=source%2Fdrv-api.c;h=26707b336380b3b4b3cb33947e0d39be78662db9;hp=8bfe5fddbc519c0b31ef0a588954ca1d94b37a87;hb=d73e0933046c580cc6d52f7099364a2af6ce141f;hpb=7d7879835eca6bee7cfe9e91c32d599a4f0210a5 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) {