add hcd_configure() to change max NAK dynamically

This commit is contained in:
hathach
2024-04-02 16:38:40 +07:00
parent e802fe0677
commit 7d3d60f96d
5 changed files with 32 additions and 15 deletions

View File

@@ -125,7 +125,7 @@ bool hcd_dcache_clean_invalidate(void const* addr, uint32_t data_size) TU_ATTR_W
//--------------------------------------------------------------------+
// optional hcd configuration, called by tuh_configure()
bool hcd_configure(uint8_t rhport, uint32_t cfg_id, const void* cfg_param) TU_ATTR_WEAK;
bool hcd_configure(uint8_t rhport, uint32_t cfg_id, const void* cfg_param);
// Initialize controller to host mode
bool hcd_init(uint8_t rhport);