Speed up calls to Pipe_IsPipeBound() by immediately skipping unconfigured pipes, rather than performing token check first.

This commit is contained in:
Dean Camera 2010-06-12 07:01:18 +00:00
parent 5fa0e9c007
commit 75d440ace3
2 changed files with 8 additions and 5 deletions

View file

@ -139,7 +139,7 @@ uint8_t Endpoint_Discard_Stream(uint16_t Length
#if !defined(NO_STREAM_CALLBACKS)
, StreamCallbackPtr_t Callback
#endif
)
)
{
uint8_t ErrorCode;