]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/cem-dt-885x/protocol.h
Various log message cleanups.
[libsigrok.git] / src / hardware / cem-dt-885x / protocol.h
index 1f0e191b0d1d9468940ec9e9ec27e9d343790a5f..bb0984225e0dc5de2dfa5a3a5951aa2778f0c627 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 "cem-dt-885x"
@@ -90,7 +90,7 @@ enum {
 /** Private, per-device-instance driver context. */
 struct dev_context {
        /* Device state */
-       uint64_t cur_mqflags;
+       enum sr_mqflag cur_mqflags;
        int recording;
        int cur_meas_range;
        int cur_data_source;
@@ -104,7 +104,6 @@ struct dev_context {
        gboolean enable_data_source_memory;
 
        /* Temporary state across callbacks */
-       void *cb_data;
        unsigned char cmd;
        unsigned char token;
        int buf_len;