Add device type SR_CONF_MULTIPLEXER.
This commit is contained in:
parent
004fd9ffd3
commit
522381a343
|
@ -723,6 +723,12 @@ enum sr_configkey {
|
||||||
/** The device can measure power. */
|
/** The device can measure power. */
|
||||||
SR_CONF_POWERMETER,
|
SR_CONF_POWERMETER,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The device can switch between multiple sources, e.g. a relay actuator
|
||||||
|
* or multiplexer.
|
||||||
|
*/
|
||||||
|
SR_CONF_MULTIPLEXER,
|
||||||
|
|
||||||
/* Update sr_key_info_config[] (hwdriver.c) upon changes! */
|
/* Update sr_key_info_config[] (hwdriver.c) upon changes! */
|
||||||
|
|
||||||
/*--- Driver scan options -------------------------------------------*/
|
/*--- Driver scan options -------------------------------------------*/
|
||||||
|
|
|
@ -63,6 +63,7 @@ static struct sr_key_info sr_key_info_config[] = {
|
||||||
{SR_CONF_SCALE, SR_T_STRING, NULL, "Scale", NULL},
|
{SR_CONF_SCALE, SR_T_STRING, NULL, "Scale", NULL},
|
||||||
{SR_CONF_SIGNAL_GENERATOR, SR_T_STRING, NULL, "Signal generator", NULL},
|
{SR_CONF_SIGNAL_GENERATOR, SR_T_STRING, NULL, "Signal generator", NULL},
|
||||||
{SR_CONF_POWERMETER, SR_T_STRING, NULL, "Power meter", NULL},
|
{SR_CONF_POWERMETER, SR_T_STRING, NULL, "Power meter", NULL},
|
||||||
|
{SR_CONF_MULTIPLEXER, SR_T_STRING, NULL, "Multiplexer", NULL},
|
||||||
|
|
||||||
/* Driver scan options */
|
/* Driver scan options */
|
||||||
{SR_CONF_CONN, SR_T_STRING, "conn",
|
{SR_CONF_CONN, SR_T_STRING, "conn",
|
||||||
|
|
Loading…
Reference in New Issue