X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Fhardware%2Fscpi-pps%2Fapi.c;h=25bc7eed773424bd2f6ce2ef64e14530906bb54a;hp=fb6a36e2baee4807f3872da0a56186ed8118eb20;hb=e57057aee778e723da572a6b5e2bd01526cc7beb;hpb=36cbd69e12d8957592c94420d98552bb00d67be6 diff --git a/src/hardware/scpi-pps/api.c b/src/hardware/scpi-pps/api.c index fb6a36e2..25bc7eed 100644 --- a/src/hardware/scpi-pps/api.c +++ b/src/hardware/scpi-pps/api.c @@ -402,7 +402,7 @@ static int config_set(uint32_t key, GVariant *data, const struct sr_dev_inst *sd select_channel(sdi, cg->channels->data); devc = sdi->priv; - ret = SR_OK; + switch (key) { case SR_CONF_ENABLED: if (g_variant_get_boolean(data))