summaryrefslogtreecommitdiff
path: root/src/device/usbd.c
diff options
context:
space:
mode:
authorWini-Buh <[email protected]>2021-06-11 22:36:17 +0200
committerWini-Buh <[email protected]>2021-06-11 22:36:17 +0200
commit60d8ecbfe617b0f398f90c3fede9a9488f4da407 (patch)
tree30484f43a2e94b8bd6ce6301377a32036950f625 /src/device/usbd.c
parent1c23462b43f47685cf0051568f4bfea5de37d563 (diff)
parentb34724215bea28ef93fd80ed9c2e4ddc87874093 (diff)
clean up
Diffstat (limited to 'src/device/usbd.c')
-rw-r--r--src/device/usbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c
index 49c9279bf..cedca540e 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -1254,8 +1254,8 @@ bool usbd_edpt_xfer(uint8_t rhport, uint8_t ep_addr, uint8_t * buffer, uint16_t
// Attempt to transfer on a busy endpoint, sound like an race condition !
TU_ASSERT(_usbd_dev.ep_status[epnum][dir].busy == 0);
- // Set busy first since the actual transfer can be complete before dcd_edpt_xfer() could return
- // and usbd task can preempt and clear the busy
+ // Set busy first since the actual transfer can be complete before dcd_edpt_xfer()
+ // could return and USBD task can preempt and clear the busy
_usbd_dev.ep_status[epnum][dir].busy = true;
if ( dcd_edpt_xfer(rhport, ep_addr, buffer, total_bytes) )