static GSList *gen_probe_list(int num_probes)
{
GSList *list;
- struct sr_probe *probe;
+ struct sr_channel *probe;
int i;
char name[8];
}
static int config_get(int key, 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;
size_t idx;
- (void)channel_group;
+ (void)cg;
if (!sdi)
return SR_ERR_ARG;
}
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)
{
uint64_t value;
struct dev_context *devc;
int idx;
- (void)channel_group;
+ (void)cg;
devc = sdi->priv;
if (!devc)
}
static int config_probe_set(const struct sr_dev_inst *sdi,
- struct sr_probe *probe, unsigned int changes)
+ struct sr_channel *probe, unsigned int changes)
{
uint64_t probe_bit;
uint64_t trigger_mask;
}
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)sdi;
- (void)channel_group;
+ (void)cg;
switch (key) {
case SR_CONF_SCAN_OPTIONS: