aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/LowLevel/Host.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-12-04 02:06:38 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-12-04 02:06:38 +0000
commit7e86387958555c489ec8a397b463c437be24e1fd (patch)
tree1f329ab5156ce16e4aa19aed19713ee475b6b586 /LUFA/Drivers/USB/LowLevel/Host.c
parenta925407588726cf6c0587e932b56b3b6257529e0 (diff)
downloadlufa-7e86387958555c489ec8a397b463c437be24e1fd.tar.gz
lufa-7e86387958555c489ec8a397b463c437be24e1fd.tar.bz2
lufa-7e86387958555c489ec8a397b463c437be24e1fd.zip
Fix double oops -- Host mode settle delay was still being ignored due to inverted logic, HID Parser was assigning the usage Min/Max usage value to the report item's collection path rather than the report item itself.
Diffstat (limited to 'LUFA/Drivers/USB/LowLevel/Host.c')
-rw-r--r--LUFA/Drivers/USB/LowLevel/Host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Host.c b/LUFA/Drivers/USB/LowLevel/Host.c
index b83c51404..98185a487 100644
--- a/LUFA/Drivers/USB/LowLevel/Host.c
+++ b/LUFA/Drivers/USB/LowLevel/Host.c
@@ -66,7 +66,7 @@ void USB_Host_ProcessNextHostState(void)
USB_HostState = HOST_STATE_Powered_WaitForDeviceSettle;
break;
case HOST_STATE_Powered_WaitForDeviceSettle:
- if (!(WaitMSRemaining--))
+ if (WaitMSRemaining--)
{
_delay_ms(1);
break;