summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2024-11-27 20:29:58 +0800
committersakumisu <[email protected]>2024-11-27 22:14:05 +0800
commit5850e27743013fb3ed0b7c06dd8cdebfac05ad22 (patch)
treee7f2297416c204848c13c7ede0589fe110102d35
parent015aa774879792d42d8d358a6814585f1f64303d (diff)
update(port/fsdev): add check for iso, we do not support
-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;