Exemple #1
0
func (ep *EndpointHandle) ClearHalt() *UsbError {
	err := returnUsbError(C.libusb_clear_halt(ep.handle.handle, C.uchar(ep.ep)))
	return err
}
Exemple #2
0
// Clear an halt/stall for a endpoint.
func (h *DeviceHandle) ClearHalt(endpoint byte) error {
	return toErr(C.libusb_clear_halt(h.me(), C.uchar(endpoint)))
}
Exemple #3
0
func (h *DeviceHandle) ClearHalt(endpoint int) *UsbError {
	return returnUsbError(C.libusb_clear_halt(h.handle, C.uchar(endpoint)))
}