Fix broken Host mode, from the recent API changes.
This commit is contained in:
@@ -55,7 +55,7 @@ void USB_Host_ProcessNextHostState(void)
|
||||
break;
|
||||
}
|
||||
|
||||
if (!(WaitMSRemaining--))
|
||||
if (!(--WaitMSRemaining))
|
||||
USB_HostState = PostWaitState;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user