summaryrefslogtreecommitdiff
path: root/src/device/usbd.c
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2023-09-11 22:22:13 +0700
committerGitHub <[email protected]>2023-09-11 22:22:13 +0700
commit6d922de0cb11e2aa8e1b64b0c2019a2a8649b96c (patch)
tree1ef048dfc752e73faddc452d15d685872f064a7b /src/device/usbd.c
parent702740a3e283165fdb63c53d0b51bf78c9bddb36 (diff)
parentf55052b61f548f0f28ec8c1b9b706f34424c58d1 (diff)
Merge pull request #2251 from hathach/add-max3421e-hcd
Add max3421e host driver
Diffstat (limited to 'src/device/usbd.c')
-rw-r--r--src/device/usbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c
index f0d9fba52..50941c46f 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -506,7 +506,7 @@ void tud_task_ext(uint32_t timeout_ms, bool in_isr)
break;
case DCD_EVENT_SETUP_RECEIVED:
- TU_LOG_PTR(CFG_TUD_LOG_LEVEL, &event.setup_received);
+ TU_LOG_BUF(CFG_TUD_LOG_LEVEL, &event.setup_received, 8);
TU_LOG_USBD("\r\n");
// Mark as connected after receiving 1st setup packet.