static const uint32_t devopts[] = {
SR_CONF_OSCILLOSCOPE,
SR_CONF_LOGIC_ANALYZER,
- SR_CONF_SAMPLERATE,
- SR_CONF_TRIGGER_TYPE,
- SR_CONF_TRIGGER_SLOPE,
- SR_CONF_HORIZ_TRIGGERPOS,
-// SR_CONF_CAPTURE_RATIO,
- SR_CONF_LIMIT_SAMPLES,
-// SR_CONF_RLE,
+ SR_CONF_LIMIT_SAMPLES | SR_CONF_SET,
+ SR_CONF_SAMPLERATE | SR_CONF_GET | SR_CONF_SET | SR_CONF_LIST,
+ SR_CONF_TRIGGER_TYPE | SR_CONF_LIST,
+ SR_CONF_TRIGGER_SLOPE | SR_CONF_SET,
+ SR_CONF_HORIZ_TRIGGERPOS | SR_CONF_SET,
+ SR_CONF_CAPTURE_RATIO | SR_CONF_SET,
+ SR_CONF_RLE | SR_CONF_SET,
};
/*
return devices;
}
- struct sr_dev_inst *sdi = sr_dev_inst_new(0, SR_ST_INACTIVE,
+ struct sr_dev_inst *sdi = sr_dev_inst_new(SR_ST_INACTIVE,
manufacturer, product, hwrev);
if (!sdi) {