]> sigrok.org Git - pulseview.git/commitdiff
Device: Display "continuous" checkbox when settable in the driver.
authorGerhard Sittig <redacted>
Tue, 22 Feb 2022 00:34:25 +0000 (01:34 +0100)
committerGerhard Sittig <redacted>
Tue, 22 Feb 2022 21:07:39 +0000 (22:07 +0100)
This has gone unnoticed because the majority of acquisition devices
either have local memory or require streaming. Only few support both
approaches and users can select the most appropriate approach for
their respective use case. Observed with Kingst LA devices.

pv/binding/device.cpp

index d33802d0f571b4309646c356e7c7bb141050d871..855052cddc7e909a7c77c62783f50154ea702dd1 100644 (file)
@@ -123,6 +123,7 @@ Device::Device(shared_ptr<sigrok::Configurable> configurable) :
                case SR_CONF_RLE:
                case SR_CONF_POWER_OFF:
                case SR_CONF_AVERAGING:
+               case SR_CONF_CONTINUOUS:
                        bind_bool(descr, "", get, set);
                        break;