usb_clear_pipe_halt

usb_clear_pipe_halt — clear a stall condition from a pipe

Synopsis

extern int usb_clear_pipe_halt( usb_pipe_t* pipe);

Arguments

pipe pipe to clear

Description

clear a stall condition from a pipe This call will send the necessary control message to the device to clear the halt, and re-activate the pipe. Note, since this call sends an message, it will block until the message is sent. the return code is an standard USB_RESULT code, and will be USB_RESULT_OK if the call is ok.

Return Values

result code