projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd048a7
)
Add bindings for new device options
author
Daniel Elstner
<daniel.kitta@gmail.com>
Wed, 5 Feb 2014 21:35:37 +0000
(22:35 +0100)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 8 Feb 2014 08:13:02 +0000
(08:13 +0000)
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
patch
|
blob
|
history
diff --git
a/pv/prop/binding/deviceoptions.cpp
b/pv/prop/binding/deviceoptions.cpp
index a5b9dd2365d9e6a4c058979f9a94e3af8f74c50e..d116521aa435524f5ac8871fb8b06a625e57905f 100644
(file)
--- 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;