]> sigrok.org Git - libsigrok.git/commitdiff
fixed a problem with USB defines
authormagnuskarlsson <redacted>
Sat, 10 May 2014 23:04:58 +0000 (16:04 -0700)
committerBert Vermeulen <redacted>
Sun, 24 Aug 2014 23:00:55 +0000 (01:00 +0200)
src/hardware/pipistrello-ols/api.c
src/hardware/pipistrello-ols/protocol.h

index 7840b58a90c68a3d3accc4723ec082796f5411a5..cb66ec986cf55b2ce42dd39460926a441b0470fe 100644 (file)
 
 #include "protocol.h"
 
-#define USB_VENDOR_ID                  0x0403
-#define USB_DEVICE_ID                  0x6010
-#define USB_VENDOR_NAME                "Saanlima"
-#define USB_IPRODUCT                   "Pipistrello LX45"
-
 static const int32_t hwcaps[] = {
        SR_CONF_LOGIC_ANALYZER,
        SR_CONF_SAMPLERATE,
index 64db0acbd890b6e217cd8ee923043aaf25312b62..e62d8ab2e6fa76cb03e00f3f033d9ce5c9cbe7f3 100644 (file)
 #ifndef LIBSIGROK_HARDWARE_PIPISTRELLO_OLS_PROTOCOL_H
 #define LIBSIGROK_HARDWARE_PIPISTRELLO_OLS_PROTOCOL_H
 
+#define USB_VENDOR_ID                  0x0403
+#define USB_DEVICE_ID                  0x6010
+#define USB_VENDOR_NAME                "Saanlima"
+#define USB_IPRODUCT                   "Pipistrello LX45"
+
 #include <stdint.h>
 #include <string.h>
 #include <glib.h>