]> sigrok.org Git - libsigrok.git/commitdiff
rigol-ds: Data source is a device option, not per channel group.
authorMartin Ling <redacted>
Thu, 19 Mar 2015 17:50:24 +0000 (17:50 +0000)
committerMartin Ling <redacted>
Thu, 19 Mar 2015 23:01:50 +0000 (23:01 +0000)
src/hardware/rigol-ds/api.c

index 6dc4471d05a81162255df357c496f549b665d50d..d35d7b2f869500ddeb0bf6f9305a45553516d10f 100644 (file)
@@ -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] = {