Various drivers: Expose SR_CONF_TRIGGER_TYPE.

Without this, sigrok-cli --show (for example) will not show the
supported trigger types.
This commit is contained in:
Uwe Hermann 2014-04-02 09:37:29 +02:00
parent 69bdcd8bb4
commit 38d3246497
4 changed files with 4 additions and 0 deletions

View File

@ -71,6 +71,7 @@ static const char *channel_names[NUM_CHANNELS + 1] = {
static const int32_t hwcaps[] = {
SR_CONF_LOGIC_ANALYZER,
SR_CONF_SAMPLERATE,
SR_CONF_TRIGGER_TYPE,
SR_CONF_CAPTURE_RATIO,
SR_CONF_LIMIT_MSEC,
};

View File

@ -26,6 +26,7 @@ static struct sr_dev_driver *di = &chronovu_la_driver_info;
static const int32_t hwcaps[] = {
SR_CONF_LOGIC_ANALYZER,
SR_CONF_SAMPLERATE,
SR_CONF_TRIGGER_TYPE,
SR_CONF_LIMIT_MSEC, /* TODO: Not yet implemented. */
SR_CONF_LIMIT_SAMPLES, /* TODO: Not yet implemented. */
};

View File

@ -25,6 +25,7 @@ static const int32_t hwcaps[] = {
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,

View File

@ -56,6 +56,7 @@ static const struct zp_model zeroplus_models[] = {
static const int32_t hwcaps[] = {
SR_CONF_LOGIC_ANALYZER,
SR_CONF_SAMPLERATE,
SR_CONF_TRIGGER_TYPE,
SR_CONF_CAPTURE_RATIO,
SR_CONF_VOLTAGE_THRESHOLD,
SR_CONF_LIMIT_SAMPLES,