]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/uni-t-ut32x/protocol.h
fx2lafw/dslogic: Split DSLogic into a separate driver
[libsigrok.git] / src / hardware / uni-t-ut32x / protocol.h
index 1a1cf1f5baa7612e331ffb1e446492e30b126d25..969ccfa65d3a4212cd8759914899d1b422706cae 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <stdint.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "uni-t-ut32x"
@@ -38,7 +38,7 @@
 #define EP_OUT 2
 
 enum {
-    DATA_SOURCE_LIVE,
+       DATA_SOURCE_LIVE,
        DATA_SOURCE_MEMORY,
 };
 
@@ -58,7 +58,6 @@ struct dev_context {
        uint64_t num_samples;
        unsigned char buf[8];
        struct libusb_transfer *xfer;
-       void *cb_data;
 
        /* Temporary state across callbacks */
        unsigned char packet[32];