Add SR_CONF_POWERMETER.
This commit is contained in:
parent
b258c09f26
commit
31bdc10ec2
|
@ -703,6 +703,9 @@ enum sr_configkey {
|
|||
/** The device can act as a function generator. */
|
||||
SR_CONF_SIGNAL_GENERATOR,
|
||||
|
||||
/** The device can measure power. */
|
||||
SR_CONF_POWERMETER,
|
||||
|
||||
/* Update sr_key_info_config[] (hwdriver.c) upon changes! */
|
||||
|
||||
/*--- Driver scan options -------------------------------------------*/
|
||||
|
|
|
@ -62,6 +62,7 @@ static struct sr_key_info sr_key_info_config[] = {
|
|||
{SR_CONF_ELECTRONIC_LOAD, SR_T_STRING, NULL, "Electronic load", NULL},
|
||||
{SR_CONF_SCALE, SR_T_STRING, NULL, "Scale", NULL},
|
||||
{SR_CONF_SIGNAL_GENERATOR, SR_T_STRING, NULL, "Signal generator", NULL},
|
||||
{SR_CONF_POWERMETER, SR_T_STRING, NULL, "Power meter", NULL},
|
||||
|
||||
/* Driver scan options */
|
||||
{SR_CONF_CONN, SR_T_STRING, "conn",
|
||||
|
|
Loading…
Reference in New Issue