Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FATFileSystem mbed-rtos
Dependents: Peach_AudioChannelDividerAndCompensator
Diff: USBHost/USBHost.cpp
- Revision:
- 31:271fcfd7cfc2
- Parent:
- 30:2851a9b2bbfb
- Child:
- 32:176143a0f4de
--- a/USBHost/USBHost.cpp Wed Apr 01 05:36:16 2015 +0000 +++ b/USBHost/USBHost.cpp Wed Sep 30 05:52:33 2015 +0000 @@ -397,32 +397,6 @@ } else { return; } -#if(1) /* Isochronous */ - if (addr != 0) { - uint8_t state; - volatile HCTD* tdList = NULL; - - //First we must reverse the list order and dequeue each TD - do { - volatile HCTD* td = (volatile HCTD*)addr; - addr = (uint32_t)td->nextTD; //Dequeue from physical list - td->nextTD = tdList; //Enqueue into reversed list - tdList = td; - } while(addr); - - while(tdList != NULL) { - volatile HCTD* td = tdList; - tdList = (volatile HCTD*)td->nextTD; //Dequeue element now as it could be modified below - if (!isTD((uint8_t*)td)) { // ITD? - HCITD* itd = (HCITD*)td; - IsochronousEp* ep = itd->ep; - if (ep) { - ep->irqWdhHandler(itd); - } - } - } - } -#endif message_t * usb_msg = mail_usb_event.alloc(); usb_msg->event_id = DEVICE_DISCONNECTED_EVENT;