sdi->priv = devc;
for (i = 0; i < NUM_PROBES; i++) {
- struct sr_probe *probe;
+ struct sr_channel *probe;
ptype = (i == 0) ? SR_PROBE_ANALOG : SR_PROBE_LOGIC;
if (!(probe = sr_probe_new(i, ptype, TRUE,
mso19_probe_names[i])))
}
static int config_get(int id, GVariant **data, const struct sr_dev_inst *sdi,
- const struct sr_probe_group *probe_group)
+ const struct sr_channel_group *cg)
{
struct dev_context *devc;
- (void)probe_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_probe_group *probe_group)
+ const struct sr_channel_group *cg)
{
int ret;
struct dev_context *devc;
int trigger_pos;
double pos;
- (void)probe_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_probe_group *probe_group)
+ const struct sr_channel_group *cg)
{
GVariant *gvar;
GVariantBuilder gvb;
- (void)probe_group;
+ (void)cg;
(void)sdi;
switch (key) {