]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/lascar-el-usb/protocol.h
Document if or why sometimes digits/spec_digits is 0.
[libsigrok.git] / src / hardware / lascar-el-usb / protocol.h
index 08197fb202be065a9d0f7303b8460f1b7cbfb40a..c4eec74b629288f844ece0ab8406456990b8a6d8 100644 (file)
@@ -41,7 +41,6 @@
 
 /** Private, per-device-instance driver context. */
 struct dev_context {
-       void *cb_data;
        const struct elusb_profile *profile;
        /* Generic EL-USB */
        unsigned char config[MAX_CONFIGBLOCK_SIZE];
@@ -68,7 +67,7 @@ enum {
 
 struct elusb_profile {
        int modelid;
-       char *modelname;
+       const char *modelname;
        int logformat;
 };
 
@@ -80,6 +79,6 @@ SR_PRIV void LIBUSB_CALL lascar_el_usb_receive_transfer(struct libusb_transfer *
 SR_PRIV int lascar_start_logging(const struct sr_dev_inst *sdi);
 SR_PRIV int lascar_stop_logging(const struct sr_dev_inst *sdi);
 SR_PRIV int lascar_is_logging(const struct sr_dev_inst *sdi);
-SR_PRIV int dev_acquisition_stop(struct sr_dev_inst *sdi, void *cb_data);
+SR_PRIV int dev_acquisition_stop(struct sr_dev_inst *sdi);
 
 #endif