Speed up calls to Pipe_IsPipeBound() by immediately skipping unconfigured pipes, rather than performing token check first.
This commit is contained in:
parent
5fa0e9c007
commit
75d440ace3
2 changed files with 8 additions and 5 deletions
|
@ -139,7 +139,7 @@ uint8_t Endpoint_Discard_Stream(uint16_t Length
|
|||
#if !defined(NO_STREAM_CALLBACKS)
|
||||
, StreamCallbackPtr_t Callback
|
||||
#endif
|
||||
)
|
||||
)
|
||||
{
|
||||
uint8_t ErrorCode;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue