X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fnorma-dmm%2Fapi.c;h=92b60cbff9ba488d4544d93d5fd3ad563a3c3668;hb=660e398fe9f5fc608787f8fd75a9df8aac61026f;hp=9736eb27b735b7f9cc22d696f01d142ad2d276d8;hpb=3fd2dca2072fb0b205db22df8b686917a3298e99;p=libsigrok.git diff --git a/hardware/norma-dmm/api.c b/hardware/norma-dmm/api.c index 9736eb27..92b60cbf 100644 --- a/hardware/norma-dmm/api.c +++ b/hardware/norma-dmm/api.c @@ -185,11 +185,11 @@ static int cleanup(void) } 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 *channel_group) { struct dev_context *devc; - (void)probe_group; + (void)channel_group; if (sdi->status != SR_ST_ACTIVE) return SR_ERR_DEV_CLOSED; @@ -223,10 +223,10 @@ 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 *channel_group) { (void)sdi; - (void)probe_group; + (void)channel_group; switch (key) { case SR_CONF_SCAN_OPTIONS: