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/USBHALHost_LPC17.cpp
- Revision:
- 30:2851a9b2bbfb
- Parent:
- 27:4206883f4cb7
- Child:
- 31:271fcfd7cfc2
--- a/USBHost/USBHALHost_LPC17.cpp Tue Mar 31 16:15:42 2015 +0100
+++ b/USBHost/USBHALHost_LPC17.cpp Wed Apr 01 05:36:16 2015 +0000
@@ -234,6 +234,14 @@
return NULL; //Could not alloc TD
}
+#if(1) /* Isochronous */
+bool USBHALHost::isTD(volatile uint8_t* td) {
+ if (td >= usb_tdBuf && td < (usb_tdBuf+TD_SIZE*MAX_TD)) {
+ return true;
+ }
+ return false;
+}
+#endif
void USBHALHost::freeED(volatile uint8_t * ed) {
int i;