diff --git a/hwdriver.c b/hwdriver.c index 43f0762f..5e9cb02f 100644 --- a/hwdriver.c +++ b/hwdriver.c @@ -42,6 +42,7 @@ SR_API struct sr_hwcap_option sr_hwcap_options[] = { "horiz_triggerpos"}, {SR_HWCAP_BUFFERSIZE, SR_T_UINT64, "Buffer size", "buffersize"}, {SR_HWCAP_TIMEBASE, SR_T_RATIONAL, "Time base", "timebase"}, + {SR_HWCAP_FILTER, SR_T_CHAR, "Filter targets", "filter"}, {0, 0, NULL, NULL}, }; diff --git a/sigrok.h.in b/sigrok.h.in index d40d72a1..7da26b2f 100644 --- a/sigrok.h.in +++ b/sigrok.h.in @@ -316,6 +316,9 @@ enum { /** Time base. */ SR_HWCAP_TIMEBASE, + /** Filter. */ + SR_HWCAP_FILTER, + /*--- Special stuff -------------------------------------------------*/ /* TODO: Better description. */ @@ -422,6 +425,8 @@ enum { SR_DI_TIMEBASES, /* Supported trigger sources */ SR_DI_TRIGGER_SOURCES, + /* Supported filter targets */ + SR_DI_FILTERS, }; /*