]> sigrok.org Git - libsigrok.git/blobdiff - src/hwdriver.c
Change SR_CONF_FILTER key to a boolean type.
[libsigrok.git] / src / hwdriver.c
index f9649f0c489666a5a4c9f7f039019bf93cdb4fce..c7dc616ca9f959e2f21ce6a27771c19c2f749a0f 100644 (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",