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:
Bert Vermeulen 2014-10-27 16:59:01 +01:00
parent e7ba5a994b
commit 6fad08e6ab
1 changed files with 2 additions and 2 deletions

View File

@ -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",