From f1a79caedd1a0b1b3a9b8d4c889147570f7627f1 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 5 Sep 2018 21:46:11 +0200 Subject: [PATCH] device.cpp: Add SR_CONF_AVG_SAMPLES. --- pv/binding/device.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- 2.30.2