X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fmic-985xx%2Fapi.c;fp=hardware%2Fmic-985xx%2Fapi.c;h=7b0d680c38f403b011a55d5f912c05b9d33fd476;hb=55f98c65332cf08ff3f87480f07f8419fe49fab6;hp=2709c530ea6a03622f3ff340bf0e2ae382334e7f;hpb=cfe01d0607a65bf4e17e3a8d15e4c0f2b20fb55c;p=libsigrok.git diff --git a/hardware/mic-985xx/api.c b/hardware/mic-985xx/api.c index 2709c530..7b0d680c 100644 --- a/hardware/mic-985xx/api.c +++ b/hardware/mic-985xx/api.c @@ -87,7 +87,7 @@ static GSList *mic_scan(const char *conn, const char *serialcomm, int idx) /* TODO: Fill in version from protocol response. */ if (!(sdi = sr_dev_inst_new(0, SR_ST_INACTIVE, mic_devs[idx].vendor, - mic_devs[idx].device, ""))) + mic_devs[idx].device, NULL))) goto scan_cleanup; if (!(devc = g_try_malloc0(sizeof(struct dev_context)))) {