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_probe_group *probe_group)
+ const struct sr_channel_group *cg)
{
struct dev_context *devc;
size_t idx;
- (void)probe_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_probe_group *probe_group)
+ const struct sr_channel_group *cg)
{
uint64_t value;
struct dev_context *devc;
int idx;
- (void)probe_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_probe_group *probe_group)
+ const struct sr_channel_group *cg)
{
GVariant *gvar;
GVariantBuilder gvb;
(void)sdi;
- (void)probe_group;
+ (void)cg;
switch (key) {
case SR_CONF_SCAN_OPTIONS:
devc->acquisition = acq;
ret = lwla_setup_acquisition(sdi);
if (ret != SR_OK) {
- sr_err("Failed to set up aquisition.");
+ sr_err("Failed to set up acquisition.");
devc->acquisition = NULL;
lwla_free_acquisition_state(acq);
return ret;
ret = lwla_start_acquisition(sdi);
if (ret != SR_OK) {
- sr_err("Failed to start aquisition.");
+ sr_err("Failed to start acquisition.");
devc->acquisition = NULL;
lwla_free_acquisition_state(acq);
return ret;