summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorWini-Buh <[email protected]>2021-06-29 00:19:30 +0200
committerWini-Buh <[email protected]>2021-06-29 00:19:30 +0200
commitcb0f1d98db3c4bcfdcba231a78b1c18805483ad8 (patch)
treefa88fc9cb41a59a2089ea2e43d8feac2b8987474 /src/device
parent970da35fb303f1aa44e6279b14b80418f3250f60 (diff)
parent6e939de9d673979721b83b0b3ab724ebd652770c (diff)
Merge remote-tracking branch 'origin/master' into CCRX_Port
# Conflicts: # src/portable/renesas/usba/dcd_usba.c # src/tusb_option.h
Diffstat (limited to 'src/device')
-rw-r--r--src/device/usbd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c
index 00ec29c9a..338bff118 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -1260,14 +1260,13 @@ bool usbd_edpt_xfer(uint8_t rhport, uint8_t ep_addr, uint8_t * buffer, uint16_t
if ( dcd_edpt_xfer(rhport, ep_addr, buffer, total_bytes) )
{
- TU_LOG2("OK\r\n");
return true;
}else
{
// DCD error, mark endpoint as ready to allow next transfer
_usbd_dev.ep_status[epnum][dir].busy = false;
_usbd_dev.ep_status[epnum][dir].claimed = 0;
- TU_LOG2("failed\r\n");
+ TU_LOG2("FAILED\r\n");
TU_BREAKPOINT();
return false;
}