uint16_t val;
};
-static void handle_fetch_samples_done(struct libusb_transfer *xfer);
-static void recv_bulk_transfer(struct libusb_transfer *xfer);
+static void LIBUSB_CALL handle_fetch_samples_done(struct libusb_transfer *xfer);
+static void LIBUSB_CALL recv_bulk_transfer(struct libusb_transfer *xfer);
static const struct samplerate_info samplerates[] = {
{ SR_GHZ(1), -24, 0x1f },
regval->val = val;
}
-static void handle_fetch_samples_done(struct libusb_transfer *xfer)
+static void LIBUSB_CALL handle_fetch_samples_done(struct libusb_transfer *xfer)
{
const struct sr_dev_inst *sdi;
struct sr_usb_dev_inst *usb;
return SR_OK;
}
-static void recv_intr_transfer(struct libusb_transfer *xfer)
+static void LIBUSB_CALL recv_intr_transfer(struct libusb_transfer *xfer)
{
const struct sr_dev_inst *sdi;
struct drv_context *drvc;
return o * devc->num_enabled_channel_groups;
}
-static void recv_bulk_transfer(struct libusb_transfer *xfer)
+static void LIBUSB_CALL recv_bulk_transfer(struct libusb_transfer *xfer)
{
const struct sr_dev_inst *sdi;
struct dev_context *devc;