From: Gerhard Sittig Date: Thu, 25 May 2017 11:31:46 +0000 (+0200) Subject: asix-sigma: Nit, remove redundant USB VID/PID declaration X-Git-Tag: libsigrok-0.5.0~47 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=e686119cc287164b0043c44857ab4cf2faedde53;p=libsigrok.git asix-sigma: Nit, remove redundant USB VID/PID declaration Both the .c and the .h file declared the same identifiers for USB properties of ASIX hardware with identical values. Remove the .c incarnation and keep the .h content, as the names are used in api.c as well as protocol.c sources. --- diff --git a/src/hardware/asix-sigma/protocol.c b/src/hardware/asix-sigma/protocol.c index db89d689..25bfc2bf 100644 --- a/src/hardware/asix-sigma/protocol.c +++ b/src/hardware/asix-sigma/protocol.c @@ -26,12 +26,6 @@ #include #include "protocol.h" -#define USB_VENDOR 0xa600 -#define USB_PRODUCT 0xa000 -#define USB_DESCRIPTION "ASIX SIGMA" -#define USB_VENDOR_NAME "ASIX" -#define USB_MODEL_NAME "SIGMA" - /* * The ASIX Sigma supports arbitrary integer frequency divider in * the 50MHz mode. The divider is in range 1...256 , allowing for