diff options
| author | hathach <[email protected]> | 2024-10-11 16:00:51 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-10-11 16:00:51 +0700 |
| commit | f3b7d7515e9cae834013dc9ee3a67d87111090eb (patch) | |
| tree | 0a5f74bcb1537b1674722d9ca84a37b9ee352388 /src/portable/microchip/samd | |
| parent | d997f0071ea5d2d07e340d183fffb97e09526773 (diff) | |
fix fuzzing build
Diffstat (limited to 'src/portable/microchip/samd')
| -rw-r--r-- | src/portable/microchip/samd/dcd_samd.c | 5 |
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; |
