Add SR_CONF_SIGNAL_GENERATOR.

This commit is contained in:
Uwe Hermann 2017-03-02 14:35:17 +01:00
parent d7056eead2
commit 6928c4a928
2 changed files with 4 additions and 0 deletions

View File

@ -700,6 +700,9 @@ enum sr_configkey {
/** The device can act as a scale. */
SR_CONF_SCALE,
/** The device can act as a function generator. */
SR_CONF_SIGNAL_GENERATOR,
/* Update sr_key_info_config[] (hwdriver.c) upon changes! */
/*--- Driver scan options -------------------------------------------*/

View File

@ -61,6 +61,7 @@ static struct sr_key_info sr_key_info_config[] = {
{SR_CONF_LCRMETER, SR_T_STRING, NULL, "LCR meter", NULL},
{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},
/* Driver scan options */
{SR_CONF_CONN, SR_T_STRING, "conn",