]> sigrok.org Git - libsigrok.git/commitdiff
agilent-dmm: Shorten vendor name.
authorBert Vermeulen <redacted>
Mon, 20 Jan 2014 18:07:48 +0000 (19:07 +0100)
committerBert Vermeulen <redacted>
Mon, 20 Jan 2014 18:07:48 +0000 (19:07 +0100)
hardware/agilent-dmm/api.c

index cc2a4be84f58463084c35a252e15772ae4bb6d1e..99176ff98c7f3bd91767492406d84c053c8860c7 100644 (file)
@@ -133,7 +133,7 @@ static GSList *scan(GSList *options)
                for (i = 0; supported_agdmm[i].model; i++) {
                        if (strcmp(supported_agdmm[i].modelname, tokens[1]))
                                continue;
-                       if (!(sdi = sr_dev_inst_new(0, SR_ST_INACTIVE, tokens[0],
+                       if (!(sdi = sr_dev_inst_new(0, SR_ST_INACTIVE, "Agilent",
                                        tokens[1], tokens[3])))
                                return NULL;
                        if (!(devc = g_try_malloc0(sizeof(struct dev_context)))) {