From: Valentin Ochs Date: Sat, 27 Jun 2020 20:54:24 +0000 (+0200) Subject: Allow setting a frame limit X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=a2ccc698062b6c5a84400a536e53b10e0d223ea1;p=pulseview.git Allow setting a frame limit --- diff --git a/pv/binding/device.cpp b/pv/binding/device.cpp index 37c9d43d..f84c1aae 100644 --- a/pv/binding/device.cpp +++ b/pv/binding/device.cpp @@ -91,6 +91,10 @@ Device::Device(shared_ptr configurable) : bind_int(name, "", "%", pair(0, 100), get, set); break; + case SR_CONF_LIMIT_FRAMES: + bind_int(name, "", "", pair(0, 1000000), get, set); + break; + case SR_CONF_PATTERN_MODE: case SR_CONF_BUFFERSIZE: case SR_CONF_TRIGGER_SOURCE: