summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--port/fsdev/usb_dc_fsdev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/port/fsdev/usb_dc_fsdev.c b/port/fsdev/usb_dc_fsdev.c
index b2dd9cca..f27e8c69 100644
--- a/port/fsdev/usb_dc_fsdev.c
+++ b/port/fsdev/usb_dc_fsdev.c
@@ -154,7 +154,8 @@ int usbd_ep_open(uint8_t busid, const struct usb_endpoint_descriptor *ep)
case USB_ENDPOINT_TYPE_ISOCHRONOUS:
wEpRegVal = USB_EP_ISOCHRONOUS;
- break;
+ USB_LOG_ERR("Do not support iso in fsdev\r\n");
+ return -1;
default:
break;