demo: Fix pattern mode and amplitude option publishing.
This commit is contained in:
parent
9a10ce65d6
commit
f12d997948
|
@ -140,19 +140,17 @@ static const int devopts[] = {
|
||||||
SR_CONF_SAMPLERATE | SR_CONF_GET | SR_CONF_SET | SR_CONF_LIST,
|
SR_CONF_SAMPLERATE | SR_CONF_GET | SR_CONF_SET | SR_CONF_LIST,
|
||||||
SR_CONF_LIMIT_SAMPLES | SR_CONF_GET | SR_CONF_SET,
|
SR_CONF_LIMIT_SAMPLES | SR_CONF_GET | SR_CONF_SET,
|
||||||
SR_CONF_LIMIT_MSEC | SR_CONF_GET | SR_CONF_SET,
|
SR_CONF_LIMIT_MSEC | SR_CONF_GET | SR_CONF_SET,
|
||||||
SR_CONF_PATTERN_MODE | SR_CONF_GET | SR_CONF_SET | SR_CONF_LIST,
|
|
||||||
SR_CONF_NUM_LOGIC_CHANNELS | SR_CONF_GET,
|
SR_CONF_NUM_LOGIC_CHANNELS | SR_CONF_GET,
|
||||||
SR_CONF_NUM_ANALOG_CHANNELS | SR_CONF_GET,
|
SR_CONF_NUM_ANALOG_CHANNELS | SR_CONF_GET,
|
||||||
SR_CONF_AMPLITUDE | SR_CONF_GET | SR_CONF_SET,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const int devopts_cg_logic[] = {
|
static const int devopts_cg_logic[] = {
|
||||||
SR_CONF_PATTERN_MODE,
|
SR_CONF_PATTERN_MODE | SR_CONF_GET | SR_CONF_SET | SR_CONF_LIST,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const int devopts_cg_analog[] = {
|
static const int devopts_cg_analog[] = {
|
||||||
SR_CONF_PATTERN_MODE,
|
SR_CONF_PATTERN_MODE | SR_CONF_GET | SR_CONF_SET | SR_CONF_LIST,
|
||||||
SR_CONF_AMPLITUDE,
|
SR_CONF_AMPLITUDE | SR_CONF_GET | SR_CONF_SET,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const uint64_t samplerates[] = {
|
static const uint64_t samplerates[] = {
|
||||||
|
|
Loading…
Reference in New Issue