device.cpp: Add SR_CONF_AVERAGING.
[pulseview.git] / pv / binding / device.cpp
index 4c2321cf33ea66b80bff41a570248fd2c07adcbc..993261330b479b9f4d9a5451f5ee9471c22006ee 100644 (file)
@@ -98,6 +98,7 @@ Device::Device(shared_ptr<sigrok::Configurable> configurable) :
                case SR_CONF_COUPLING:
                case SR_CONF_CLOCK_EDGE:
                case SR_CONF_DATA_SOURCE:
+               case SR_CONF_EXTERNAL_CLOCK_SOURCE:
                        bind_enum(name, "", key, capabilities, get, set);
                        break;
 
@@ -105,6 +106,7 @@ Device::Device(shared_ptr<sigrok::Configurable> configurable) :
                case SR_CONF_EXTERNAL_CLOCK:
                case SR_CONF_RLE:
                case SR_CONF_POWER_OFF:
+               case SR_CONF_AVERAGING:
                        bind_bool(name, "", get, set);
                        break;