]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/teleinfo/protocol.h
Introduce standard cleanup helper
[libsigrok.git] / src / hardware / teleinfo / protocol.h
index 303305e7a66cf67480db0133630d051097ea3595..b4aa0fef1244148d3573de4ed6f0f58e39701731 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 "teleinfo"
@@ -42,7 +42,6 @@ struct dev_context {
        /* Acquisition settings */
        uint64_t limit_samples;   /**< The sampling limit (in number of samples). */
        uint64_t limit_msec;      /**< The time limit (in milliseconds). */
-       void *session_cb_data;    /**< Opaque pointer passed in by the frontend. */
 
        /* Operational state */
        enum optarif optarif;     /**< The device mode (which measures are reported) */