]> sigrok.org Git - libsigrok.git/commitdiff
hameg-hmo: Add the TRIGGER_SLOPE entry to config_list().
authorpoljar (Damir Jelić) <redacted>
Tue, 25 Mar 2014 16:44:37 +0000 (17:44 +0100)
committerUwe Hermann <redacted>
Tue, 25 Mar 2014 19:48:58 +0000 (20:48 +0100)
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;