From 75d440ace31c326dc80c84c3d346a425f43f1dd6 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sat, 12 Jun 2010 07:01:18 +0000 Subject: Speed up calls to Pipe_IsPipeBound() by immediately skipping unconfigured pipes, rather than performing token check first. --- LUFA/Drivers/USB/LowLevel/Endpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LUFA/Drivers/USB/LowLevel/Endpoint.c') 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; -- cgit v1.2.3