summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-08-05 17:43:27 +0700
committerhathach <[email protected]>2024-08-05 17:43:27 +0700
commit315dae6a85cbb3df5b30429b28d8c74130f44db6 (patch)
tree09e3debefaeb6e7949f50b69a82132e458826660 /src/device
parent91e5a066c5b259c38d663d21e3485b2feecb779d (diff)
finally fixed fsdev setup handling, which cause race condition for ch32v203
Diffstat (limited to 'src/device')
-rw-r--r--src/device/usbd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c
index 6d27a3735..7089e9cf1 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -1201,7 +1201,6 @@ TU_ATTR_FAST_FUNC void dcd_event_handler(dcd_event_t const* event, bool in_isr)
break;
case DCD_EVENT_SETUP_RECEIVED:
- // TU_ASSERT(event->setup_received.bRequest != 0,); // for catching issue with ch32v203 and windows with -O0/-Og
_usbd_queued_setup++;
send = true;
break;