X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hwdriver.c;h=43f0762f0ec8b4e61cb3a0b4b8f5a02eb8049585;hb=76f4c61086b314e66e92dd571f37defd3f714554;hp=c265b1beaa747d9043199b6fc77f157efb73252e;hpb=824b1a8f5cc6073f6d6505d0efa74d67f4da0fb7;p=libsigrok.git diff --git a/hwdriver.c b/hwdriver.c index c265b1be..43f0762f 100644 --- a/hwdriver.c +++ b/hwdriver.c @@ -36,6 +36,12 @@ SR_API struct sr_hwcap_option sr_hwcap_options[] = { {SR_HWCAP_CAPTURE_RATIO, SR_T_UINT64, "Pre-trigger capture ratio", "captureratio"}, {SR_HWCAP_PATTERN_MODE, SR_T_CHAR, "Pattern generator mode", "pattern"}, {SR_HWCAP_RLE, SR_T_BOOL, "Run Length Encoding", "rle"}, + {SR_HWCAP_TRIGGER_SLOPE, SR_T_UINT64, "Trigger slope", "triggerslope"}, + {SR_HWCAP_TRIGGER_SOURCE, SR_T_CHAR, "Trigger source", "triggersource"}, + {SR_HWCAP_HORIZ_TRIGGERPOS, SR_T_FLOAT, "Horizontal trigger position", + "horiz_triggerpos"}, + {SR_HWCAP_BUFFERSIZE, SR_T_UINT64, "Buffer size", "buffersize"}, + {SR_HWCAP_TIMEBASE, SR_T_RATIONAL, "Time base", "timebase"}, {0, 0, NULL, NULL}, }; @@ -63,6 +69,9 @@ extern SR_PRIV struct sr_dev_driver alsa_driver_info; #ifdef HAVE_LA_FX2LAFW extern SR_PRIV struct sr_dev_driver fx2lafw_driver_info; #endif +#ifdef HAVE_HW_HANTEK_DSO +extern SR_PRIV struct sr_dev_driver hantek_dso_plugin_info; +#endif static struct sr_dev_driver *drivers_list[] = { #ifdef HAVE_LA_DEMO @@ -88,6 +97,9 @@ static struct sr_dev_driver *drivers_list[] = { #endif #ifdef HAVE_LA_FX2LAFW &fx2lafw_driver_info, +#endif +#ifdef HAVE_HW_HANTEK_DSO + &hantek_dso_plugin_info, #endif NULL, };