Better HTTP GET parsing in the Webserver demo, add application polling.
This commit is contained in:
parent
e8b8ed2bad
commit
97f7cd947b
7 changed files with 52 additions and 46 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue