hameg-hmo: Add the TRIGGER_SLOPE entry to config_list().

This commit is contained in:
poljar (Damir Jelić) 2014-03-25 17:44:37 +01:00 committed by Uwe Hermann
parent 422a1c0d58
commit bbabdaf1e2
1 changed files with 4 additions and 0 deletions

View File

@ -511,6 +511,10 @@ static int config_list(int key, GVariant **data, const struct sr_dev_inst *sdi,
*data = g_variant_new_strv(*model->trigger_sources,
g_strv_length((char **)*model->trigger_sources));
break;
case SR_CONF_TRIGGER_SLOPE:
*data = g_variant_new_strv(*model->trigger_slopes,
g_strv_length((char **)*model->trigger_slopes));
break;
case SR_CONF_TIMEBASE:
*data = build_tuples(model->timebases, model->num_timebases);
break;