From: poljar (Damir Jelić) Date: Tue, 25 Mar 2014 16:44:37 +0000 (+0100) Subject: hameg-hmo: Add the TRIGGER_SLOPE entry to config_list(). X-Git-Tag: libsigrok-0.3.0~115 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=bbabdaf1e2802aeef7d48fab4b0dc3507a69ffe9;p=libsigrok.git hameg-hmo: Add the TRIGGER_SLOPE entry to config_list(). --- diff --git a/hardware/hameg-hmo/api.c b/hardware/hameg-hmo/api.c index eeccf7cf..1d3ea5ab 100644 --- a/hardware/hameg-hmo/api.c +++ b/hardware/hameg-hmo/api.c @@ -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;