]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/mic-985xx/protocol.h
Introduce standard cleanup helper
[libsigrok.git] / src / hardware / mic-985xx / protocol.h
index 42a01daf6151166e25f849e7a1b5c97c69eb21da..d522c0a4e537ff6ee524fbc0efa0c1a5421f4fc9 100644 (file)
@@ -36,9 +36,9 @@ enum {
 };
 
 struct mic_dev_info {
-       char *vendor;
-       char *device;
-       char *conn;
+       const char *vendor;
+       const char *device;
+       const char *conn;
        uint32_t max_sample_points;
        gboolean has_temperature;
        gboolean has_humidity;
@@ -60,9 +60,6 @@ struct dev_context {
        /** The current sampling limit (in ms). */
        uint64_t limit_msec;
 
-       /** Opaque pointer passed in by the frontend. */
-       void *cb_data;
-
        /** The current number of already received samples. */
        uint64_t num_samples;