static int init(struct sr_output *o)
{
struct context *ctx;
- struct sr_probe *probe;
+ struct sr_channel *probe;
GSList *l;
GVariant *gvar;
/* Get the unitsize. */
for (l = o->sdi->probes; l; l = l->next) {
probe = l->data;
+ if (probe->type != SR_PROBE_LOGIC)
+ continue;
if (!probe->enabled)
continue;
ctx->num_enabled_probes++;