]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/dcttech-usbrelay/protocol.h
dcttech-usbrelay: support conn=vid.pid specs in addition to paths
[libsigrok.git] / src / hardware / dcttech-usbrelay / protocol.h
index 45b8ec4bfca0ec7556ffdc6e24e7c53eb9b087bf..9e3d86df115534e80f9e13ebf70e0cd67492c046 100644 (file)
@@ -43,6 +43,7 @@
 
 struct dev_context {
        char *hid_path;
+       uint16_t usb_vid, usb_pid;
        hid_device *hid_dev;
        size_t relay_count;
        uint32_t relay_mask;