From 2440ca268ac444c1aed2441cefe9e25a767d961a Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 26 May 2009 05:16:02 +0000 Subject: [PATCH] Fix broken Host mode, from the recent API changes. --- LUFA/Drivers/USB/LowLevel/Host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LUFA/Drivers/USB/LowLevel/Host.c b/LUFA/Drivers/USB/LowLevel/Host.c index b3b56b8d1c..b606515e60 100644 --- a/LUFA/Drivers/USB/LowLevel/Host.c +++ b/LUFA/Drivers/USB/LowLevel/Host.c @@ -55,7 +55,7 @@ void USB_Host_ProcessNextHostState(void) break; } - if (!(WaitMSRemaining--)) + if (!(--WaitMSRemaining)) USB_HostState = PostWaitState; }