X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fcolead-slm%2Fapi.c;h=9ea441781520244c00e52ffaf5a4d5215044fc7d;hb=6fad08e6abfa4e5ee708f584e530c6b611a65cdb;hp=0f4225e5c93af561d2d499f0d9d8d2edf0ee2f81;hpb=5827f61b641cfd326a9cf2ea534eb4f9481a8187;p=libsigrok.git diff --git a/src/hardware/colead-slm/api.c b/src/hardware/colead-slm/api.c index 0f4225e5..9ea44178 100644 --- a/src/hardware/colead-slm/api.c +++ b/src/hardware/colead-slm/api.c @@ -82,7 +82,7 @@ static GSList *scan(GSList *options) if (!serialcomm) serialcomm = SERIALCOMM; - if (!(sdi = sr_dev_inst_new(0, SR_ST_INACTIVE, "Colead", + if (!(sdi = sr_dev_inst_new(SR_ST_INACTIVE, "Colead", "SL-5868P", NULL))) return NULL;