X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=hardware%2Fcolead-slm%2Fapi.c;h=c3046d4bf26fbbb0aa2d49f481b182736ae14325;hb=660e398fe9f5fc608787f8fd75a9df8aac61026f;hp=b24198ccac4bc7f4b94d6f2a56c4771a6b3a25fe;hpb=3fd2dca2072fb0b205db22df8b686917a3298e99;p=libsigrok.git diff --git a/hardware/colead-slm/api.c b/hardware/colead-slm/api.c index b24198cc..c3046d4b 100644 --- a/hardware/colead-slm/api.c +++ b/hardware/colead-slm/api.c @@ -130,11 +130,11 @@ static int cleanup(void) } 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; @@ -168,10 +168,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_probe_group *probe_group) + const struct sr_channel_group *channel_group) { (void)sdi; - (void)probe_group; + (void)channel_group; switch (key) { case SR_CONF_SCAN_OPTIONS: