]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/uni-t-dmm/protocol.h
Introduce standard implementation of the dev_list() callback
[libsigrok.git] / src / hardware / uni-t-dmm / protocol.h
index 9844f20ec0b22039e7d9cfecdafeb5685adfaee4..853809e36c0c5849c89736d8cb12ad9f0bc6c781 100644 (file)
@@ -31,8 +31,8 @@
 
 struct dmm_info {
        struct sr_dev_driver di;
-       char *vendor;
-       char *device;
+       const char *vendor;
+       const char *device;
        uint32_t baudrate;
        int packet_size;
        gboolean (*packet_valid)(const uint8_t *);
@@ -54,9 +54,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;