summaryrefslogtreecommitdiff
path: root/src/device/usbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/usbd.c')
-rw-r--r--src/device/usbd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c
index 8f3a7a226..cca4169d7 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -671,6 +671,7 @@ void tud_task_ext(uint32_t timeout_ms, bool in_isr) {
#if CFG_TUD_TASK_EVENTS_PER_RUN > 0
if (epr >= CFG_TUD_TASK_EVENTS_PER_RUN) {
TU_LOG_USBD("USBD event limit (" TU_XSTRING(CFG_TUD_TASK_EVENTS_PER_RUN) ") reached\r\n");
+ break;
}
#endif
dcd_event_t event;