Skip to content

Commit edc559c

Browse files
committed
fix ci
1 parent badb30a commit edc559c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/device/usbd.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@
3939
// USBD Configuration
4040
//--------------------------------------------------------------------+
4141

42-
// Debug level of USBD
43-
#define USBD_DBG 2
44-
4542
#ifndef CFG_TUD_TASK_QUEUE_SZ
4643
#define CFG_TUD_TASK_QUEUE_SZ 16
4744
#endif
4845

46+
// Debug level of USBD
47+
#define USBD_DBG 2
48+
4949
//--------------------------------------------------------------------+
5050
// Device Data
5151
//--------------------------------------------------------------------+
@@ -506,7 +506,7 @@ void tud_task_ext(uint32_t timeout_ms, bool in_isr)
506506
break;
507507

508508
case DCD_EVENT_SETUP_RECEIVED:
509-
TU_LOG_VAR(USBD_DBG, &event.setup_received);
509+
TU_LOG_PTR(USBD_DBG, &event.setup_received);
510510
TU_LOG(USBD_DBG, "\r\n");
511511

512512
// Mark as connected after receiving 1st setup packet.

0 commit comments

Comments
 (0)