Przeglądaj źródła

fix(core/usbd_core): fix ep config for more eps when call usbd_set_interface

sakumisu 1 rok temu
rodzic
commit
1be34f4d36
1 zmienionych plików z 0 dodań i 1 usunięć
  1. 0 1
      core/usbd_core.c

+ 0 - 1
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 {
                     }
                 }