]> sigrok.org Git - pulseview.git/commitdiff
fix 'Exception: not applicable' when connecting to hantek-dso
authorntruchsess <redacted>
Fri, 11 Mar 2016 21:52:47 +0000 (22:52 +0100)
committerUwe Hermann <redacted>
Mon, 14 Mar 2016 16:13:44 +0000 (17:13 +0100)
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: