X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Flascar-el-usb%2Fprotocol.h;h=9e7b716783f94ea5a8d45158eac1c43ac2ca7764;hb=12852b0337fd802ac0f9c51a39a173636685ef18;hp=08197fb202be065a9d0f7303b8460f1b7cbfb40a;hpb=c1aae90038456a61d0f9313d34e6107c3440d3e7;p=libsigrok.git diff --git a/src/hardware/lascar-el-usb/protocol.h b/src/hardware/lascar-el-usb/protocol.h index 08197fb2..9e7b7167 100644 --- a/src/hardware/lascar-el-usb/protocol.h +++ b/src/hardware/lascar-el-usb/protocol.h @@ -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,5 @@ 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); #endif