summaryrefslogtreecommitdiff
path: root/src/portable/microchip/samd
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-10-11 16:00:51 +0700
committerhathach <[email protected]>2024-10-11 16:00:51 +0700
commitf3b7d7515e9cae834013dc9ee3a67d87111090eb (patch)
tree0a5f74bcb1537b1674722d9ca84a37b9ee352388 /src/portable/microchip/samd
parentd997f0071ea5d2d07e340d183fffb97e09526773 (diff)
fix fuzzing build
Diffstat (limited to 'src/portable/microchip/samd')
-rw-r--r--src/portable/microchip/samd/dcd_samd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/portable/microchip/samd/dcd_samd.c b/src/portable/microchip/samd/dcd_samd.c
index 005b63faf..c3a74ad0f 100644
--- a/src/portable/microchip/samd/dcd_samd.c
+++ b/src/portable/microchip/samd/dcd_samd.c
@@ -78,9 +78,8 @@ static void bus_reset(void)
/*------------------------------------------------------------------*/
/* Controller API
*------------------------------------------------------------------*/
-void dcd_init (uint8_t rhport)
-{
- (void) rhport;
+void dcd_init(const tusb_rhport_init_t* rh_init) {
+ (void) rh_init;
// Reset to get in a clean state.
USB->DEVICE.CTRLA.bit.SWRST = true;