]> sigrok.org Git - libsigrok.git/commit
Drop SR_CONF_SET flag from SR_CONF_CONTINUOUS options
authorLars-Peter Clausen <redacted>
Mon, 2 May 2016 11:22:46 +0000 (13:22 +0200)
committerBert Vermeulen <redacted>
Tue, 3 May 2016 19:49:02 +0000 (21:49 +0200)
commite91bb0a6c4a94957e4e998ca134dc806bec49a7f
treead9e76bf43bb96e80dca597a52dd6f648f8f25e9
parentc01bf34ca264b268fee2e71ab918c71d28dc3018
Drop SR_CONF_SET flag from SR_CONF_CONTINUOUS options

SR_CONF_CONTINUOUS is a capability option indicating whether a device
supports continuous capture or not. If the option exists the device
supports continuous capture and otherwise it doesn't. There is no value
associated with it and hence setting the SR_CONF_SET flag is nonsensical.

None of the drivers which set SR_CONF_SET for SR_CONF_CONTINUOUS handle it
in their config_set() callback and return an error if an application tried
to perform a config_set() operation for SR_CONF_CONTINUOUS.

Simply remove the SR_CONF_SET flag from all SR_CONF_CONTINUOUS options.

Signed-off-by: Lars-Peter Clausen <redacted>
15 files changed:
src/hardware/agilent-dmm/api.c
src/hardware/appa-55ii/api.c
src/hardware/arachnid-labs-re-load-pro/api.c
src/hardware/atten-pps3xxx/api.c
src/hardware/baylibre-acme/api.c
src/hardware/cem-dt-885x/api.c
src/hardware/center-3xx/api.c
src/hardware/demo/demo.c
src/hardware/ftdi-la/api.c
src/hardware/fx2lafw/api.c
src/hardware/hantek-dso/api.c
src/hardware/hp-3457a/api.c
src/hardware/maynuo-m97/api.c
src/hardware/mic-985xx/api.c
src/hardware/scpi-pps/profiles.c