X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fcem-dt-885x%2Fprotocol.h;h=bb0984225e0dc5de2dfa5a3a5951aa2778f0c627;hb=7f9932e8db3192922674e441ef2978755fd98da7;hp=1f0e191b0d1d9468940ec9e9ec27e9d343790a5f;hpb=1a46cc62e2b528bcaeb1f8dc0c952a81b3bcba5c;p=libsigrok.git diff --git a/src/hardware/cem-dt-885x/protocol.h b/src/hardware/cem-dt-885x/protocol.h index 1f0e191b..bb098422 100644 --- a/src/hardware/cem-dt-885x/protocol.h +++ b/src/hardware/cem-dt-885x/protocol.h @@ -22,7 +22,7 @@ #include #include -#include "libsigrok.h" +#include #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;