From: Martin Ling Date: Thu, 19 Mar 2015 17:50:24 +0000 (+0000) Subject: rigol-ds: Data source is a device option, not per channel group. X-Git-Tag: libsigrok-0.4.0~594 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=f579d08bc592e0ca6a6183e8f75fcd2d4bc72710;p=libsigrok.git rigol-ds: Data source is a device option, not per channel group. --- diff --git a/src/hardware/rigol-ds/api.c b/src/hardware/rigol-ds/api.c index 6dc4471d..d35d7b2f 100644 --- a/src/hardware/rigol-ds/api.c +++ b/src/hardware/rigol-ds/api.c @@ -43,13 +43,13 @@ static const uint32_t devopts[] = { SR_CONF_HORIZ_TRIGGERPOS | SR_CONF_SET, SR_CONF_NUM_HDIV | 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[] = { SR_CONF_NUM_VDIV | SR_CONF_GET, 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_DATA_SOURCE | SR_CONF_GET | SR_CONF_SET | SR_CONF_LIST, }; static const uint64_t timebases[][2] = {