From 5be76b1a8c3b4975c02f685ceaa02cdb69d1dccc Mon Sep 17 00:00:00 2001 From: Daniel Elstner Date: Wed, 5 Feb 2014 22:35:37 +0100 Subject: [PATCH] Add bindings for new device options Add device option bindings for the SR_CONF_TRIGGER_SLOPE, SR_CONF_EXTERNAL_CLOCK and SR_CONF_CLOCK_EDGE settings. For now, the slope and edge settings use the generic combo box widget. --- pv/prop/binding/deviceoptions.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pv/prop/binding/deviceoptions.cpp b/pv/prop/binding/deviceoptions.cpp index a5b9dd2..d116521 100644 --- a/pv/prop/binding/deviceoptions.cpp +++ b/pv/prop/binding/deviceoptions.cpp @@ -91,11 +91,14 @@ DeviceOptions::DeviceOptions(const sr_dev_inst *sdi, case SR_CONF_PATTERN_MODE: case SR_CONF_BUFFERSIZE: case SR_CONF_TRIGGER_SOURCE: + case SR_CONF_TRIGGER_SLOPE: case SR_CONF_FILTER: case SR_CONF_COUPLING: + case SR_CONF_CLOCK_EDGE: bind_enum(name, key, gvar_list); break; + case SR_CONF_EXTERNAL_CLOCK: case SR_CONF_RLE: bind_bool(name, key); break; -- 2.30.2