From: Uwe Hermann Date: Mon, 11 Nov 2013 07:25:47 +0000 (+0100) Subject: new-driver: Update for probe groups changes. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=1fd5630e86bdbe3d476d9f5613fe20fd08112c5d;p=sigrok-util.git new-driver: Update for probe groups changes. --- diff --git a/source/drv-api.c b/source/drv-api.c index ae594f1..8bfe5fd 100644 --- a/source/drv-api.c +++ b/source/drv-api.c @@ -85,12 +85,14 @@ static int cleanup(void) return SR_OK; } -static int config_get(int key, GVariant **data, const struct sr_dev_inst *sdi) +static int config_get(int key, GVariant **data, const struct sr_dev_inst *sdi, + const struct sr_probe_group *probe_group) { int ret; (void)sdi; (void)data; + (void)probe_group; ret = SR_OK; switch (key) { @@ -102,11 +104,13 @@ static int config_get(int key, GVariant **data, const struct sr_dev_inst *sdi) return ret; } -static int config_set(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) { int ret; (void)data; + (void)probe_group; if (sdi->status != SR_ST_ACTIVE) return SR_ERR_DEV_CLOSED; @@ -121,12 +125,14 @@ static int config_set(int key, GVariant *data, const struct sr_dev_inst *sdi) return ret; } -static int config_list(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) { int ret; (void)sdi; (void)data; + (void)probe_group; ret = SR_OK; switch (key) {