func (ep *EndpointHandle) ClearHalt() *UsbError { err := returnUsbError(C.libusb_clear_halt(ep.handle.handle, C.uchar(ep.ep))) return err }
// 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))) }
func (h *DeviceHandle) ClearHalt(endpoint int) *UsbError { return returnUsbError(C.libusb_clear_halt(h.handle, C.uchar(endpoint))) }