*/
struct hwcap_option hwcap_options[] = {
{HWCAP_SAMPLERATE, T_UINT64, "Sample rate", "samplerate"},
+ {HWCAP_CAPTURE_RATIO, T_UINT64, "Pre-trigger capture ratio", "captureratio"},
{0, 0, NULL, NULL},
};
+#ifdef HAVE_LA_DEMO
+extern struct device_plugin demo_plugin_info;
+#endif
#ifdef HAVE_LA_SALEAE_LOGIC
extern struct device_plugin saleae_logic_plugin_info;
#endif
#ifdef HAVE_LA_ASIX_SIGMA
extern struct device_plugin asix_sigma_plugin_info;
#endif
+#ifdef HAVE_LA_LINK_MSO19
+extern struct device_plugin link_mso19_plugin_info;
+#endif
+
/* TODO: No linked list needed, this can be a simple array. */
int load_hwplugins(void)
{
+#ifdef HAVE_LA_DEMO
+ plugins = g_slist_append(plugins, (gpointer *)&demo_plugin_info);
+#endif
#ifdef HAVE_LA_SALEAE_LOGIC
plugins =
g_slist_append(plugins, (gpointer *)&saleae_logic_plugin_info);
#ifdef HAVE_LA_ASIX_SIGMA
plugins = g_slist_append(plugins, (gpointer *)&asix_sigma_plugin_info);
#endif
+#ifdef HAVE_LA_LINK_MSO19
+ plugins = g_slist_append(plugins, (gpointer *)&link_mso19_plugin_info);
+#endif
return SIGROK_OK;
}
sdi->vendor = strdup(vendor);
sdi->model = strdup(model);
sdi->version = strdup(version);
+ sdi->priv = NULL;
sdi->usb = NULL;
return sdi;