/*
- * This file is part of the sigrok project.
+ * This file is part of the libsigrok project.
*
* Copyright (C) 2011-2012 Uwe Hermann <uwe@hermann-uwe.de>
*
for (i = 0; i < 255; i++)
chronovu_la8_samplerates[254 - i] = SR_MHZ(100) / (i + 1);
- chronovu_la8_samplerates[255] = 0;
}
/**
SR_PRIV int configure_probes(const struct sr_dev_inst *sdi)
{
struct dev_context *devc;
- const struct sr_probe *probe;
+ const struct sr_channel *probe;
const GSList *l;
uint8_t probe_bit;
char *tc;
devc->trigger_mask = 0; /* Default to "don't care" for all probes. */
for (l = sdi->probes; l; l = l->next) {
- probe = (struct sr_probe *)l->data;
+ probe = (struct sr_channel *)l->data;
if (!probe) {
sr_err("%s: probe was NULL.", __func__);