X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Funi-t-dmm%2Fprotocol.h;h=853809e36c0c5849c89736d8cb12ad9f0bc6c781;hb=1e726f568d6d72a8c6afdcd8fa98b98e910ad523;hp=9844f20ec0b22039e7d9cfecdafeb5685adfaee4;hpb=5faebab2903dc91949edc31f0a4b118d86090a30;p=libsigrok.git diff --git a/src/hardware/uni-t-dmm/protocol.h b/src/hardware/uni-t-dmm/protocol.h index 9844f20e..853809e3 100644 --- a/src/hardware/uni-t-dmm/protocol.h +++ b/src/hardware/uni-t-dmm/protocol.h @@ -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;