Skip to content

Commit

Permalink
fix(core/usbd_core): fix return with break in ep0 thread
Browse files Browse the repository at this point in the history
Signed-off-by: sakumisu <[email protected]>
  • Loading branch information
sakumisu committed Feb 12, 2025
1 parent de7a73b commit 23d2327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/usbd_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1454,7 +1454,7 @@ static void usbdev_ep0_thread(CONFIG_USB_OSAL_THREAD_SET_ARGV)
g_usbd_core[busid].ep0_data_buf = g_usbd_core[busid].req_data;
if (!usbd_setup_request_handler(busid, setup, &g_usbd_core[busid].ep0_data_buf, &g_usbd_core[busid].ep0_data_buf_len)) {
usbd_ep_set_stall(busid, USB_CONTROL_IN_EP0);
return;
continue;
}

/*Send status to host*/
Expand Down

0 comments on commit 23d2327

Please sign in to comment.