aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/usb/usb_lib
diff options
context:
space:
mode:
authorAJM <poslathian@poslathian.(none)>2010-06-09 14:23:14 -0400
committerAJM <poslathian@poslathian.(none)>2010-06-09 14:23:14 -0400
commita89cddd05ea3fb09513a8fb96b9cd963efbffab3 (patch)
treec28916198d5dc916e6d619d076976c98a212448a /libmaple/usb/usb_lib
parent97cde2028e92056be5b8d867e121e868b8cec139 (diff)
downloadlibrambutan-a89cddd05ea3fb09513a8fb96b9cd963efbffab3.tar.gz
librambutan-a89cddd05ea3fb09513a8fb96b9cd963efbffab3.zip
removed the callback for send functional descriptor.
It wasnt used, and was causing a compiler warning to get thrown. It isnt needed, not sure why I added it in the first place
Diffstat (limited to 'libmaple/usb/usb_lib')
-rw-r--r--libmaple/usb/usb_lib/usb_core.c3
-rw-r--r--libmaple/usb/usb_lib/usb_core.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/libmaple/usb/usb_lib/usb_core.c b/libmaple/usb/usb_lib/usb_core.c
index 223a2e1..afe8798 100644
--- a/libmaple/usb/usb_lib/usb_core.c
+++ b/libmaple/usb/usb_lib/usb_core.c
@@ -693,9 +693,6 @@ void Data_Setup0(void)
else if (wValue1 == STRING_DESCRIPTOR)
{
CopyRoutine = pProperty->GetStringDescriptor;
- } else if (wValue1 == 0x21) /* added to support functional descriptors */
- {
- CopyRoutine = pProperty->GetFunctionalDescriptor;
} /* End of GET_DESCRIPTOR */
}
}
diff --git a/libmaple/usb/usb_lib/usb_core.h b/libmaple/usb/usb_lib/usb_core.h
index 1931fbf..d8c099f 100644
--- a/libmaple/usb/usb_lib/usb_core.h
+++ b/libmaple/usb/usb_lib/usb_core.h
@@ -176,7 +176,6 @@ typedef struct _DEVICE_PROP
u8* (*GetDeviceDescriptor)(u16 Length);
u8* (*GetConfigDescriptor)(u16 Length);
u8* (*GetStringDescriptor)(u16 Length);
- u8* (*GetFunctionalDescriptor)(u16 Length);
u8* RxEP_buffer;
u8 MaxPacketSize;