X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Fhardware%2Fhantek-dso%2Fapi.c;h=6f1580940f32afe4dcf6fc66ddedc2aac37fb254;hp=3ad928bdd79ac05e2a1d28baf91043b812f92c6f;hb=aed4ad0beaf64062752039a13f9a95326aa1df87;hpb=f2209364737835ba78126cf7f2a707f63182f0e6 diff --git a/src/hardware/hantek-dso/api.c b/src/hardware/hantek-dso/api.c index 3ad928bd..6f158094 100644 --- a/src/hardware/hantek-dso/api.c +++ b/src/hardware/hantek-dso/api.c @@ -166,7 +166,7 @@ static struct sr_dev_inst *dso_dev_new(const struct dso_profile *prof) struct dev_context *devc; int i; - sdi = sr_dev_inst_new(0, SR_ST_INITIALIZING, + sdi = sr_dev_inst_new(SR_ST_INITIALIZING, prof->vendor, prof->model, NULL); if (!sdi) return NULL;