X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fagilent-dmm%2Fapi.c;h=27da6b93d118267c8ed4a1aad710f7d3b0a5b4a3;hb=16aef676340f028a06e77f45d76511cc78a18803;hp=47e38fb28ee50a60d375a07c4dc1e2cf090a2399;hpb=d4f59ce86d23e41da3f94e3d6cab4b4bc3239359;p=libsigrok.git diff --git a/src/hardware/agilent-dmm/api.c b/src/hardware/agilent-dmm/api.c index 47e38fb2..27da6b93 100644 --- a/src/hardware/agilent-dmm/api.c +++ b/src/hardware/agilent-dmm/api.c @@ -130,7 +130,7 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options) devc = g_malloc0(sizeof(struct dev_context)); sr_sw_limits_init(&devc->limits); devc->profile = &supported_agdmm[i]; - devc->cur_mq = -1; + devc->cur_mq = 0; sdi->inst_type = SR_INST_SERIAL; sdi->conn = serial; sdi->priv = devc;