struct sr_dev_inst *sdi;
struct drv_context *drvc;
struct sr_config *src;
- struct sr_probe *probe;
+ struct sr_channel *probe;
struct sr_serial_dev_inst *serial;
GSList *l, *devices;
const char *conn, *serialcomm;
}
static int config_set(int key, GVariant *data, const struct sr_dev_inst *sdi,
- const struct sr_channel_group *channel_group)
+ const struct sr_channel_group *cg)
{
int ret;
double dblval;
- (void)channel_group;
+ (void)cg;
if (sdi->status != SR_ST_ACTIVE)
return SR_ERR_DEV_CLOSED;
}
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)
{
int ret;
(void)sdi;
- (void)channel_group;
+ (void)cg;
ret = SR_OK;
switch (key) {