Move the length decrements in the pipe and endpoint stream functions to the point...
authorDean Camera <dean@fourwalledcubicle.com>
Sun, 26 Apr 2009 05:01:06 +0000 (05:01 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Sun, 26 Apr 2009 05:01:06 +0000 (05:01 +0000)
commite21b620bf6cc9fb1bb9e516efb57b1cb12c00085
tree4df534c35d2aa8b6d57a26fe18651c9a12d412b2
parenta504a3a010ec2441dda0209f195492fb36e7c97b
Move the length decrements in the pipe and endpoint stream functions to the point at which the buffers are operated on, to prevent decrements during iterations where no data is exchanged (thanks to Francisco Moraes).
LUFA/Drivers/USB/LowLevel/Endpoint.c
LUFA/Drivers/USB/LowLevel/Pipe.c