/*
* Adjust the position of the first sample to be
* processed because possibly more samples than
- * necessary might have been aquired. This is because
- * the number of aquired samples is always rounded up
+ * necessary might have been acquired. This is because
+ * the number of acquired samples is always rounded up
* to a multiple of 8.
*/
k = k - (devc->pre_trigger_bytes * 8) +
SR_PRIV int sl2_transfer_in(libusb_device_handle *dev_handle, uint8_t *data)
{
return libusb_control_transfer(dev_handle, USB_REQUEST_TYPE_IN,
- USB_HID_SET_REPORT, USB_HID_REPORT_TYPE_FEATURE, USB_INTERFACE,
+ USB_HID_GET_REPORT, USB_HID_REPORT_TYPE_FEATURE, USB_INTERFACE,
(unsigned char *)data, PACKET_LENGTH, USB_TIMEOUT);
}