"HAMEG",
};
-static const int32_t hwopts[] = {
+static const int32_t scanopts[] = {
SR_CONF_CONN,
SR_CONF_SERIALCOMM,
};
model = devc->model_config;
switch (key) {
+ case SR_CONF_SCAN_OPTIONS:
+ *data = g_variant_new_fixed_array(G_VARIANT_TYPE_INT32,
+ scanopts, ARRAY_SIZE(scanopts), sizeof(int32_t));
+ break;
case SR_CONF_DEVICE_OPTIONS:
if (cg_type == CG_NONE) {
*data = g_variant_new_fixed_array(G_VARIANT_TYPE_INT32,
devc = sdi->priv;
digital_added = FALSE;
+ g_slist_free(devc->enabled_channels);
+ devc->enabled_channels = NULL;
+
for (l = sdi->channels; l; l = l->next) {
ch = l->data;
if (!ch->enabled)