From: ntruchsess 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/gitweb/?p=pulseview.git;a=commitdiff_plain;h=0623eb8c7d596c8507f6c69263990973ba65f70c;hp=4ca23e7d62d75523710fe4117f904ded4d26544a;ds=sidebyside 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 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: