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.

This commit is contained in:
Dean Camera 2009-12-04 02:06:38 +00:00
parent a925407588
commit 7e86387958
2 changed files with 4 additions and 4 deletions

View file

@ -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;