X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Ftesto%2Fprotocol.h;fp=src%2Fhardware%2Ftesto%2Fprotocol.h;h=62607e2b60d152f307cc396b324ed7c160cb56fb;hb=55462b8ba9f48931de9b9a7bfbc182a1d113b3b5;hp=c2c3a870d7f9262bee904504218cb16d83a761be;hpb=76598cda5465e74e7427b5613f5859f02c2d2ad6;p=libsigrok.git diff --git a/src/hardware/testo/protocol.h b/src/hardware/testo/protocol.h index c2c3a870..62607e2b 100644 --- a/src/hardware/testo/protocol.h +++ b/src/hardware/testo/protocol.h @@ -75,7 +75,7 @@ struct dev_context { SR_PRIV int testo_set_serial_params(struct sr_usb_dev_inst *usb); SR_PRIV int testo_probe_channels(struct sr_dev_inst *sdi); -SR_PRIV void receive_transfer(struct libusb_transfer *transfer); +SR_PRIV void LIBUSB_CALL receive_transfer(struct libusb_transfer *transfer); SR_PRIV int testo_request_packet(const struct sr_dev_inst *sdi); SR_PRIV gboolean testo_check_packet_prefix(uint8_t *buf, int len); SR_PRIV uint16_t crc16_mcrf4xx(uint16_t crc, uint8_t *data, size_t len);