From 5850e27743013fb3ed0b7c06dd8cdebfac05ad22 Mon Sep 17 00:00:00 2001 From: sakumisu <1203593632@qq.com> Date: Wed, 27 Nov 2024 20:29:58 +0800 Subject: [PATCH] update(port/fsdev): add check for iso, we do not support --- port/fsdev/usb_dc_fsdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;