summaryrefslogtreecommitdiff
path: root/src/device/usbd.c
diff options
context:
space:
mode:
authorRocky04 <[email protected]>2023-08-08 18:14:00 +0000
committerRocky04 <[email protected]>2023-08-08 18:14:00 +0000
commita98b21992263584ebced348b49f082c69171f0ff (patch)
tree8056b8894d2fa84c82c30358500c33730e9a8168 /src/device/usbd.c
parent0161955c22eccea62a783368073042154b3e5976 (diff)
Remove port from SOF callback
Diffstat (limited to 'src/device/usbd.c')
-rw-r--r--src/device/usbd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c
index 3437159fb..15ceec878 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -1,3 +1,4 @@
+
/*
* The MIT License (MIT)
*
@@ -598,7 +599,7 @@ void tud_task_ext(uint32_t timeout_ms, bool in_isr)
case DCD_EVENT_SOF:
TU_LOG_USBD("\r\n");
- if ( tud_sof_cb ) tud_sof_cb(event->rhport, event->sof.frame_count);
+ if ( tud_sof_cb ) tud_sof_cb(event->sof.frame_count);
break;
default: