X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fvictor-dmm%2Fapi.c;h=55b90c7ef2e390c085a7cfa5082b4b1d5a2de7eb;hb=b15ff1c92aabeea04649de25a3a01f851ab0a1ec;hp=fd13421f8e954977261773743b9b0873fbaa088b;hpb=f8195cb2da3268c89e24071ed32ab9acdded5bc0;p=libsigrok.git diff --git a/src/hardware/victor-dmm/api.c b/src/hardware/victor-dmm/api.c index fd13421f..55b90c7e 100644 --- a/src/hardware/victor-dmm/api.c +++ b/src/hardware/victor-dmm/api.c @@ -28,7 +28,6 @@ #define VICTOR_VID 0x1244 #define VICTOR_PID 0xd237 -#define VICTOR_VENDOR "Victor" #define VICTOR_INTERFACE 0 #define VICTOR_ENDPOINT (LIBUSB_ENDPOINT_IN | 1) @@ -74,7 +73,7 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options) sdi = g_malloc0(sizeof(struct sr_dev_inst)); sdi->status = SR_ST_INACTIVE; - sdi->vendor = g_strdup(VICTOR_VENDOR); + sdi->vendor = g_strdup("Victor"); sdi->connection_id = g_strdup(connection_id); devc = g_malloc0(sizeof(struct dev_context)); sr_sw_limits_init(&devc->limits);