]> sigrok.org Git - libsigrok.git/blobdiff - hardware/chronovu-la8/driver.h
sr: la8: Support for newer USB VID/PID of the device.
[libsigrok.git] / hardware / chronovu-la8 / driver.h
index d972d182f6b70ca105167e7fc4fb89150cc01136..0da07e475d1d1548ad10e268f94a8d5e3b1c0af8 100644 (file)
@@ -28,7 +28,6 @@
 #include "libsigrok-internal.h"
 
 #define USB_VENDOR_ID                  0x0403
-#define USB_PRODUCT_ID                 0x6001
 #define USB_DESCRIPTION                        "ChronoVu LA8"
 #define USB_VENDOR_NAME                        "ChronoVu"
 #define USB_MODEL_NAME                 "LA8"
@@ -98,6 +97,9 @@ struct context {
 
        /** The divcount value (determines the sample period) for the LA8. */
        uint8_t divcount;
+
+       /** This ChronoVu LA8's USB PID (multiple versions exist). */
+       uint16_t usb_pid;
 };
 
 /* driver.c */