]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/maynuo-m97/api.c
scan(): Consistently start out with SR_ST_INACTIVE.
[libsigrok.git] / src / hardware / maynuo-m97 / api.c
index c2b77b800ec9667ab7ba4633e0139a26a4645308..7bf960d66ac11e244206f68056b4b2c8ed03003f 100644 (file)
@@ -135,7 +135,7 @@ static struct sr_dev_inst *probe_device(struct sr_modbus_dev_inst *modbus)
        }
 
        sdi = g_malloc0(sizeof(struct sr_dev_inst));
-       sdi->status = SR_ST_ACTIVE;
+       sdi->status = SR_ST_INACTIVE;
        sdi->vendor = g_strdup("Maynuo");
        sdi->model = g_strdup(model->name);
        sdi->version = g_strdup_printf("v%d.%d", version/10, version%10);