From: Dean Camera Date: Tue, 26 May 2009 05:16:02 +0000 (+0000) Subject: Fix broken Host mode, from the recent API changes. X-Git-Tag: LUFA-110528-BETA~1164 X-Git-Url: http://git.linex4red.de/pub/USBasp.git/commitdiff_plain/2440ca268ac444c1aed2441cefe9e25a767d961a Fix broken Host mode, from the recent API changes. --- diff --git a/LUFA/Drivers/USB/LowLevel/Host.c b/LUFA/Drivers/USB/LowLevel/Host.c index b3b56b8d1..b606515e6 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; }