]> sigrok.org Git - pulseview.git/blobdiff - pv/binding/device.cpp
fix 'Exception: not applicable' when connecting to hantek-dso
[pulseview.git] / pv / binding / device.cpp
index 026ca16c6b49354f5e51cbbe89b59a1c09f5bf86..27a1a38adee15877bb1c0eefe162a4566fa9b7d5 100644 (file)
@@ -98,12 +98,12 @@ Device::Device(shared_ptr<sigrok::Configurable> configurable) :
                case SR_CONF_BUFFERSIZE:
                case SR_CONF_TRIGGER_SOURCE:
                case SR_CONF_TRIGGER_SLOPE:
-               case SR_CONF_FILTER:
                case SR_CONF_COUPLING:
                case SR_CONF_CLOCK_EDGE:
                        bind_enum(name, key, capabilities, get, set);
                        break;
 
+               case SR_CONF_FILTER:
                case SR_CONF_EXTERNAL_CLOCK:
                case SR_CONF_RLE:
                case SR_CONF_POWER_OFF: