projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b196610
)
device.cpp: Add SR_CONF_AVG_SAMPLES.
author
Uwe Hermann
<uwe@hermann-uwe.de>
Wed, 5 Sep 2018 19:46:11 +0000
(21:46 +0200)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Wed, 5 Sep 2018 22:25:00 +0000
(
00:25
+0200)
pv/binding/device.cpp
patch
|
blob
|
history
diff --git
a/pv/binding/device.cpp
b/pv/binding/device.cpp
index 993261330b479b9f4d9a5451f5ee9471c22006ee..07d8ccc05249ffa3bed1be1f923fa15e3c3ef962 100644
(file)
--- a/
pv/binding/device.cpp
+++ b/
pv/binding/device.cpp
@@
-129,6
+129,10
@@
Device::Device(shared_ptr<sigrok::Configurable> configurable) :
bind_int(name, "", "", pair<int64_t, int64_t>(1, 500), get, set);
break;
+ case SR_CONF_AVG_SAMPLES:
+ bind_int(name, "", "", pair<int64_t, int64_t>(0, INT32_MAX), get, set);
+ break;
+
default:
break;
}