}
static int config_get(int id, GVariant **data, const struct sr_dev_inst *sdi,
- const struct sr_channel_group *channel_group)
+ const struct sr_channel_group *cg)
{
struct dev_context *devc;
- (void)channel_group;
+ (void)cg;
switch (id) {
case SR_CONF_SAMPLERATE:
}
static int config_set(int id, GVariant *data, const struct sr_dev_inst *sdi,
- const struct sr_channel_group *channel_group)
+ const struct sr_channel_group *cg)
{
int ret;
struct dev_context *devc;
int trigger_pos;
double pos;
- (void)channel_group;
+ (void)cg;
devc = sdi->priv;
if (sdi->status != SR_ST_ACTIVE)
}
static int config_list(int key, GVariant **data, const struct sr_dev_inst *sdi,
- const struct sr_channel_group *channel_group)
+ const struct sr_channel_group *cg)
{
GVariant *gvar;
GVariantBuilder gvb;
- (void)channel_group;
+ (void)cg;
(void)sdi;
switch (key) {