X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fcem-dt-885x%2Fapi.c;h=70a28e58153de63ed5f4833edb5299ae065f2ebe;hb=4ab01c3564ddec604d0b6a9daf76fcba277da287;hp=25e1ce45b3921ba07559351e7eab0832b85a8f7e;hpb=d7b269da8fc0a5dc2334a07f0fa371825aaceb34;p=libsigrok.git diff --git a/src/hardware/cem-dt-885x/api.c b/src/hardware/cem-dt-885x/api.c index 25e1ce45..70a28e58 100644 --- a/src/hardware/cem-dt-885x/api.c +++ b/src/hardware/cem-dt-885x/api.c @@ -106,7 +106,7 @@ static GSList *scan(GSList *options) while (g_get_monotonic_time() - start < MAX_SCAN_TIME) { if (serial_read_nonblocking(serial, &c, 1) == 1 && c == 0xa5) { /* Found one. */ - if (!(sdi = sr_dev_inst_new(0, SR_ST_INACTIVE, "CEM", + if (!(sdi = sr_dev_inst_new(SR_ST_INACTIVE, "CEM", "DT-885x", NULL))) return NULL;