From: Uwe Hermann Date: Wed, 5 Sep 2018 19:46:11 +0000 (+0200) Subject: device.cpp: Add SR_CONF_AVG_SAMPLES. X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=f1a79caedd1a0b1b3a9b8d4c889147570f7627f1 device.cpp: Add SR_CONF_AVG_SAMPLES. --- diff --git a/pv/binding/device.cpp b/pv/binding/device.cpp index 99326133..07d8ccc0 100644 --- a/pv/binding/device.cpp +++ b/pv/binding/device.cpp @@ -129,6 +129,10 @@ Device::Device(shared_ptr configurable) : bind_int(name, "", "", pair(1, 500), get, set); break; + case SR_CONF_AVG_SAMPLES: + bind_int(name, "", "", pair(0, INT32_MAX), get, set); + break; + default: break; }