Change SR_CONF_FILTER key to a boolean type.
This was an ill-defined string before, now it's simply something you turn on or off on a channel.
This commit is contained in:
parent
e7ba5a994b
commit
6fad08e6ab
|
@ -102,8 +102,8 @@ static struct sr_config_info sr_config_info_data[] = {
|
|||
"Buffer size", NULL},
|
||||
{SR_CONF_TIMEBASE, SR_T_RATIONAL_PERIOD, "timebase",
|
||||
"Time base", NULL},
|
||||
{SR_CONF_FILTER, SR_T_STRING, "filter",
|
||||
"Filter targets", NULL},
|
||||
{SR_CONF_FILTER, SR_T_BOOL, "filter",
|
||||
"Filter", NULL},
|
||||
{SR_CONF_VDIV, SR_T_RATIONAL_VOLT, "vdiv",
|
||||
"Volts/div", NULL},
|
||||
{SR_CONF_COUPLING, SR_T_STRING, "coupling",
|
||||
|
|
Loading…
Reference in New Issue