From: Bert Vermeulen Date: Fri, 19 Apr 2013 19:19:54 +0000 (+0200) Subject: victor-dmm: Allow configuration before the device is opened X-Git-Tag: dsupstream~93 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=8bb2981df075082071b3edf2426a3444109726f0;p=libsigrok.git victor-dmm: Allow configuration before the device is opened --- diff --git a/hardware/victor-dmm/api.c b/hardware/victor-dmm/api.c index 3a3278c7..2222797d 100644 --- a/hardware/victor-dmm/api.c +++ b/hardware/victor-dmm/api.c @@ -262,11 +262,6 @@ static int config_set(int id, GVariant *data, const struct sr_dev_inst *sdi) return SR_ERR; } - if (sdi->status != SR_ST_ACTIVE) { - sr_err("Device inactive, can't set config options."); - return SR_ERR; - } - devc = sdi->priv; ret = SR_OK; switch (id) {