aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/LowLevel/Endpoint.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-06-12 07:01:18 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-06-12 07:01:18 +0000
commit75d440ace31c326dc80c84c3d346a425f43f1dd6 (patch)
tree29fe64063e3e8eb1c6db1231ef284b4c76b832c6 /LUFA/Drivers/USB/LowLevel/Endpoint.c
parent5fa0e9c00733a13df54dab638fc7bd79231d968e (diff)
downloadlufa-75d440ace31c326dc80c84c3d346a425f43f1dd6.tar.gz
lufa-75d440ace31c326dc80c84c3d346a425f43f1dd6.tar.bz2
lufa-75d440ace31c326dc80c84c3d346a425f43f1dd6.zip
Speed up calls to Pipe_IsPipeBound() by immediately skipping unconfigured pipes, rather than performing token check first.
Diffstat (limited to 'LUFA/Drivers/USB/LowLevel/Endpoint.c')
-rw-r--r--LUFA/Drivers/USB/LowLevel/Endpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Endpoint.c b/LUFA/Drivers/USB/LowLevel/Endpoint.c
index 15cb9d011..22579af6d 100644
--- a/LUFA/Drivers/USB/LowLevel/Endpoint.c
+++ b/LUFA/Drivers/USB/LowLevel/Endpoint.c
@@ -139,7 +139,7 @@ uint8_t Endpoint_Discard_Stream(uint16_t Length
#if !defined(NO_STREAM_CALLBACKS)
, StreamCallbackPtr_t Callback
#endif
- )
+ )
{
uint8_t ErrorCode;