usb_h_pipe_free

Free an allocated pipe.

static int32_t usb_h_pipe_free(
    struct usb_h_pipe * pipe
)

Parameters

pipe

Type: struct usb_h_pipe *

The pipe

Returns

Type: int32_t

Operation result status

ERR_BUSY

Pipe is busy, use _usb_h_pipe_abort to abort

ERR_NONE

Operation done successfully