From: ntruchsess <redacted>
Date: Fri, 11 Mar 2016 21:52:47 +0000 (+0100)
Subject: fix 'Exception: not applicable' when connecting to hantek-dso
X-Git-Tag: pulseview-0.4.0~329
X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=0623eb8c7d596c8507f6c69263990973ba65f70c;p=pulseview.git

fix 'Exception: not applicable' when connecting to hantek-dso
---

diff --git a/pv/binding/device.cpp b/pv/binding/device.cpp
index 026ca16c..27a1a38a 100644
--- a/pv/binding/device.cpp
+++ b/pv/binding/device.cpp
@@ -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: