summaryrefslogtreecommitdiff
path: root/firmware/usbstack/drivers/device/usb_serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/usbstack/drivers/device/usb_serial.c')
-rw-r--r--firmware/usbstack/drivers/device/usb_serial.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/firmware/usbstack/drivers/device/usb_serial.c b/firmware/usbstack/drivers/device/usb_serial.c
index 578e9a1..c243821 100644
--- a/firmware/usbstack/drivers/device/usb_serial.c
+++ b/firmware/usbstack/drivers/device/usb_serial.c
@@ -25,7 +25,7 @@ static struct usb_dcd_controller_ops* ops;
struct usb_device_driver usb_serial_driver = {
.name = "serial",
.bind = usb_serial_driver_bind,
- .unbind = NULL,
+ .unbind = usb_serial_driver_unbind,
.request = usb_serial_driver_request,
.suspend = NULL,
.resume = NULL,
@@ -212,6 +212,11 @@ autoconf_fail:
return -EOPNOTSUPP;
}
+void usb_serial_driver_unbind(void) {
+
+ /* disable endpoints... */
+}
+
int usb_serial_driver_request(struct usb_ctrlrequest* request)
{
int ret = -EOPNOTSUPP;