]> sigrok.org Git - libsigrok.git/blobdiff - hardware/hameg-hmo/api.c
hameg-hmo: Add the TRIGGER_SLOPE entry to config_list().
[libsigrok.git] / hardware / hameg-hmo / api.c
index eeccf7cfbf7f5dfc5adeea235f165ee40e275250..1d3ea5abab1eb8b576d9ae8b02a1adb84ccd46ec 100644 (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;