diff options
| author | hathach <[email protected]> | 2022-12-21 12:29:51 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-12-21 12:29:51 +0700 |
| commit | edc559cb4d9c0c940387b514f2e66c4a2f3a9c1c (patch) | |
| tree | 2224fb635458c6701187f3082b0cfd5aa3a7c8c0 /src/device | |
| parent | badb30a6c3d0748b52d7c9db5a48b7bef21b4c1a (diff) | |
fix ci
Diffstat (limited to 'src/device')
| -rw-r--r-- | src/device/usbd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c index f9a7af21b..f652a878e 100644 --- a/src/device/usbd.c +++ b/src/device/usbd.c @@ -39,13 +39,13 @@ // USBD Configuration //--------------------------------------------------------------------+ -// Debug level of USBD -#define USBD_DBG 2 - #ifndef CFG_TUD_TASK_QUEUE_SZ #define CFG_TUD_TASK_QUEUE_SZ 16 #endif +// Debug level of USBD +#define USBD_DBG 2 + //--------------------------------------------------------------------+ // Device Data //--------------------------------------------------------------------+ @@ -506,7 +506,7 @@ void tud_task_ext(uint32_t timeout_ms, bool in_isr) break; case DCD_EVENT_SETUP_RECEIVED: - TU_LOG_VAR(USBD_DBG, &event.setup_received); + TU_LOG_PTR(USBD_DBG, &event.setup_received); TU_LOG(USBD_DBG, "\r\n"); // Mark as connected after receiving 1st setup packet. |
