summaryrefslogtreecommitdiff
path: root/src/device/usbd_control.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-07-01 22:46:39 +0700
committerhathach <[email protected]>2021-07-01 22:46:39 +0700
commitca98996e1f9ac802c60d9da4c28ab0e16ca640d6 (patch)
treee231ef0be071290e5cb8819f7d67b17811e5236a /src/device/usbd_control.c
parent3b539fdd8d8e9d48756cf5f6e0d605af3972651c (diff)
better support for hid device set/get protocol
add caplock detection for hid_composite
Diffstat (limited to 'src/device/usbd_control.c')
-rw-r--r--src/device/usbd_control.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device/usbd_control.c b/src/device/usbd_control.c
index 724c652e6..7a8244699 100644
--- a/src/device/usbd_control.c
+++ b/src/device/usbd_control.c
@@ -186,6 +186,7 @@ bool usbd_control_xfer_cb (uint8_t rhport, uint8_t ep_addr, xfer_result_t result
{
TU_VERIFY(_ctrl_xfer.buffer);
memcpy(_ctrl_xfer.buffer, _usbd_ctrl_buf, xferred_bytes);
+ TU_LOG_MEM(2, _usbd_ctrl_buf, xferred_bytes, 2);
}
_ctrl_xfer.total_xferred += xferred_bytes;