aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Core/AVR8
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-03-03 19:32:27 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-03-03 19:32:27 +0000
commitc1c94fe5a0e0bcfb5ec37ed987b45954afe768cd (patch)
tree088d03b46dcaba731c43271505d291d6b1e6e27c /LUFA/Drivers/USB/Core/AVR8
parent8c6f26e19db3310c452d19393cb4def3592671b1 (diff)
downloadlufa-c1c94fe5a0e0bcfb5ec37ed987b45954afe768cd.tar.gz
lufa-c1c94fe5a0e0bcfb5ec37ed987b45954afe768cd.tar.bz2
lufa-c1c94fe5a0e0bcfb5ec37ed987b45954afe768cd.zip
Fixed Still Image Host class driver exiting the descriptor search routine prematurely if the data pipes (but not event pipe) is found.
Fixed missing call to Pipe_SetInfiniteINRequests() in the Pipe_ConfigurePipe() routine.
Diffstat (limited to 'LUFA/Drivers/USB/Core/AVR8')
-rw-r--r--LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.c b/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.c
index 2073c8ef2..48445293e 100644
--- a/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.c
+++ b/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.c
@@ -87,6 +87,8 @@ bool Pipe_ConfigurePipe(const uint8_t Number,
UPIENXTemp = UPIENX;
}
+ Pipe_SetInfiniteINRequests();
+
if (!(UPCFG1XTemp & (1 << ALLOC)))
continue;