diff options
| author | hathach <[email protected]> | 2024-10-14 19:42:22 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-10-14 19:42:22 +0700 |
| commit | e83e08343afca86b2bacf26822ef9032571e6f56 (patch) | |
| tree | f7c11374731a6aa9352464f065169d30d28d16c2 /src/device/dcd.h | |
| parent | 1f18be93db39dbc57bbf34f982dbe07e209a2ae3 (diff) | |
change dcd_init() return from void to bool
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 64dffbaef..d01f82e01 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, const tusb_rhport_init_t* rh_init); +bool dcd_init(uint8_t rhport, const tusb_rhport_init_t* rh_init); // Deinitialize controller, unset device mode. bool dcd_deinit(uint8_t rhport); |
