rigol-ds: Data source is a device option, not per channel group.

This commit is contained in:
Martin Ling 2015-03-19 17:50:24 +00:00
parent 98bfc4741f
commit f579d08bc5
1 changed files with 1 additions and 1 deletions

View File

@ -43,13 +43,13 @@ static const uint32_t devopts[] = {
SR_CONF_HORIZ_TRIGGERPOS | SR_CONF_SET, SR_CONF_HORIZ_TRIGGERPOS | SR_CONF_SET,
SR_CONF_NUM_HDIV | SR_CONF_GET, SR_CONF_NUM_HDIV | SR_CONF_GET,
SR_CONF_SAMPLERATE | SR_CONF_GET, SR_CONF_SAMPLERATE | SR_CONF_GET,
SR_CONF_DATA_SOURCE | SR_CONF_GET | SR_CONF_SET | SR_CONF_LIST,
}; };
static const uint32_t analog_devopts[] = { static const uint32_t analog_devopts[] = {
SR_CONF_NUM_VDIV | SR_CONF_GET, SR_CONF_NUM_VDIV | SR_CONF_GET,
SR_CONF_VDIV | SR_CONF_GET | SR_CONF_SET | SR_CONF_LIST, SR_CONF_VDIV | SR_CONF_GET | SR_CONF_SET | SR_CONF_LIST,
SR_CONF_COUPLING | SR_CONF_GET | SR_CONF_SET | SR_CONF_LIST, SR_CONF_COUPLING | SR_CONF_GET | SR_CONF_SET | SR_CONF_LIST,
SR_CONF_DATA_SOURCE | SR_CONF_GET | SR_CONF_SET | SR_CONF_LIST,
}; };
static const uint64_t timebases[][2] = { static const uint64_t timebases[][2] = {