From 1be34f4d367b52b7a57ccf3446f4cc7f7f006abe Mon Sep 17 00:00:00 2001 From: sakumisu <1203593632@qq.com> Date: Sat, 28 Dec 2024 16:43:19 +0800 Subject: [PATCH] fix(core/usbd_core): fix ep config for more eps when call usbd_set_interface --- core/usbd_core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/core/usbd_core.c b/core/usbd_core.c index b43b5fbf..d7fb3517 100644 --- a/core/usbd_core.c +++ b/core/usbd_core.c @@ -500,7 +500,6 @@ static bool usbd_set_interface(uint8_t busid, uint8_t iface, uint8_t alt_setting goto find_end; } else if (cur_alt_setting == alt_setting) { ret = usbd_set_endpoint(busid, ep_desc); - goto find_end; } else { } }