Better HTTP GET parsing in the Webserver demo, add application polling.

This commit is contained in:
Dean Camera 2010-01-31 04:23:55 +00:00
parent e8b8ed2bad
commit 97f7cd947b
7 changed files with 52 additions and 46 deletions

View file

@ -47,8 +47,10 @@ int main(void)
for (;;)
{
USBDeviceMode_USBTask();
USBHostMode_USBTask();
if (USB_CurrentMode == USB_MODE_HOST)
USBHostMode_USBTask();
else
USBDeviceMode_USBTask();
USB_USBTask();
}