usb_clear_halt

Name

usb_clear_halt -- Clears any halt status on an endpoint

Description

int usb_clear_halt(usb_dev_handle *dev, unsigned int ep);

usb_clear_halt clears any halt status on the specified endpoint. The ep parameter is the value specified in the descriptor field bEndpointAddress. Returns 0 on success or < 0 on error.