diff options
| author | hathach <[email protected]> | 2024-10-11 15:21:32 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-10-11 15:31:49 +0700 |
| commit | d997f0071ea5d2d07e340d183fffb97e09526773 (patch) | |
| tree | d796bbf0db3b860f506554029f4fe019ed892936 /src/device/dcd.h | |
| parent | 92602b9de3675c2d3e240bcd0838082e1a07b13b (diff) | |
change dcd_init() to take rhport struct
Diffstat (limited to 'src/device/dcd.h')
| -rw-r--r-- | src/device/dcd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/dcd.h b/src/device/dcd.h index 3ef5188fc..8fa7b8bc1 100644 --- a/src/device/dcd.h +++ b/src/device/dcd.h @@ -108,7 +108,7 @@ void dcd_dcache_clean_invalidate(void const* addr, uint32_t data_size) TU_ATTR_W //--------------------------------------------------------------------+ // Initialize controller to device mode -void dcd_init(uint8_t rhport); +void dcd_init(const tusb_rhport_init_t* rh_init); // Deinitialize controller, unset device mode. bool dcd_deinit(uint8_t rhport); |
