X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Fhardware%2Fhameg-hmo%2Fapi.c;h=78cdc1733157fc0b5dba9cb47bfd5af67b1b2cf1;hb=aed4ad0beaf64062752039a13f9a95326aa1df87;hp=4ce1fd7fb64b3543e4150ab2fb160284ad75d131;hpb=f2209364737835ba78126cf7f2a707f63182f0e6;p=libsigrok.git diff --git a/src/hardware/hameg-hmo/api.c b/src/hardware/hameg-hmo/api.c index 4ce1fd7f..78cdc173 100644 --- a/src/hardware/hameg-hmo/api.c +++ b/src/hardware/hameg-hmo/api.c @@ -75,7 +75,7 @@ static struct sr_dev_inst *hmo_probe_serial_device(struct sr_scpi_dev_inst *scpi if (check_manufacturer(hw_info->manufacturer) != SR_OK) goto fail; - if (!(sdi = sr_dev_inst_new(0, SR_ST_ACTIVE, + if (!(sdi = sr_dev_inst_new(SR_ST_ACTIVE, hw_info->manufacturer, hw_info->model, hw_info->firmware_version))) { goto fail;