This is replaced by SR_CONF_TRIGGER_SOURCE.
case SR_DI_HWCAPS:
*data = hwcaps;
break;
- case SR_DI_TRIGGER_SOURCES:
- *data = trigger_sources;
- break;
/* TODO remove this */
case SR_CONF_SAMPLERATE:
*data = &tmp;
case SR_CONF_TIMEBASE:
*data = timebases;
break;
+ case SR_CONF_TRIGGER_SOURCE:
+ *data = trigger_sources;
+ break;
default:
return SR_ERR_ARG;
}
case SR_DI_HWCAPS:
*data = hwcaps;
break;
- case SR_DI_TRIGGER_SOURCES:
- *data = trigger_sources;
- break;
default:
return SR_ERR_ARG;
}
case SR_CONF_TIMEBASE:
*data = timebases;
break;
+ case SR_CONF_TRIGGER_SOURCE:
+ *data = trigger_sources;
+ break;
default:
return SR_ERR_ARG;
}
SR_DI_HWCAPS,
/** Types of logic trigger supported, out of "01crf" (char *). */
SR_DI_TRIGGER_TYPES,
- /** Supported trigger sources. */
- SR_DI_TRIGGER_SOURCES,
};
/*