aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple')
-rw-r--r--libmaple/usb/usb.c1
-rw-r--r--libmaple/usb/usb_lib/usb_core.c3
-rw-r--r--libmaple/usb/usb_lib/usb_core.h1
3 files changed, 0 insertions, 5 deletions
diff --git a/libmaple/usb/usb.c b/libmaple/usb/usb.c
index 0549f3c..6c144ba 100644
--- a/libmaple/usb/usb.c
+++ b/libmaple/usb/usb.c
@@ -64,7 +64,6 @@ DEVICE_PROP Device_Property =
usbGetDeviceDescriptor,
usbGetConfigDescriptor,
usbGetStringDescriptor,
- NOP_Process,
0,
bMaxPacketSize
};
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;