summaryrefslogtreecommitdiff
path: root/src/device/usbd.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-09-06 17:11:35 +0700
committerhathach <[email protected]>2023-09-06 17:11:35 +0700
commit1b9108ea0dc237835e801d26cc7eef052acad987 (patch)
treee9be352aeecf3325c53886978f4a2085d1cf41ff /src/device/usbd.c
parented0a233d4830baa8a767fcc20dcbfedbb09b7b41 (diff)
minor debug clean up
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.