This is replaced by SR_CONF_PATTERN_MODE.
case SR_CONF_SAMPLERATE:
*data = &cur_samplerate;
break;
- case SR_DI_PATTERNS:
- *data = &pattern_strings;
- break;
default:
return SR_ERR_ARG;
}
case SR_CONF_SAMPLERATE:
*data = &samplerates;
break;
+ case SR_CONF_PATTERN_MODE:
+ *data = &pattern_strings;
+ break;
default:
return SR_ERR_ARG;
}
SR_DI_HWCAPS,
/** Types of logic trigger supported, out of "01crf" (char *). */
SR_DI_TRIGGER_TYPES,
- /** Supported patterns (in pattern generator mode). */
- SR_DI_PATTERNS,
/** Supported buffer sizes. */
SR_DI_BUFFERSIZES,
/** Supported time bases. */