def clear_halt(endpoint)
      endpoint = endpoint.bEndpointAddress if endpoint.respond_to? :bEndpointAddress
      res = Call.libusb_clear_halt(@pHandle, endpoint)
      LIBUSB.raise_error res, "in libusb_clear_halt" if res!=0
    end
def clear_halt(endpoint)
      endpoint = endpoint.bEndpointAddress if endpoint.respond_to? :bEndpointAddress
      res = Call.libusb_clear_halt(@pHandle, endpoint)
      LIBUSB.raise_error res, "in libusb_clear_halt" if res!=0
    end
Clear the halt/stall condition for an endpoint.

 Endpoints with halt status are unable to receive or transmit
 data until the halt condition is stalled.

 You should cancel all pending transfers before attempting to
 clear the halt condition.

 This is a blocking function.

 @param [Endpoint, Fixnum] endpoint  the endpoint in question or it's bEndpointAddress